Skip to content

Commit

Permalink
Release v0.64 Fix update error
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed Sep 14, 2021
1 parent b05a26d commit 21ce020
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion macast/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.63
0.64
2 changes: 2 additions & 0 deletions macast/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ def dialog(self, content, callback=None, cancel="Cancel", ok="Ok"):
callback()
except Exception as e:
self.notification("Error", "Cannot access System Events")
logger.error(e)
callback()
else:
self.notification("Macast", content)
if callback:
Expand Down
2 changes: 1 addition & 1 deletion macast/macast.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def check_update(self, verbose=True):

if float(Setting.get_version()) < float(online_version):
self.dialog(_("Macast New Update {}").format(res['tag_name']),
lambda _: self.open_browser(release_url),
lambda: self.open_browser(release_url),
ok="Update")
else:
if verbose:
Expand Down

0 comments on commit 21ce020

Please sign in to comment.