Crappy restarting
This commit is contained in:
1 parent
d0da98a86b
commit
4f0006db9f
2 files changed
+24
-7
No files matched your search
@@ -79,7 +79,8 @@ class Updater(Plugin):
|
||||
|
||||
if local.getDate() < remote.getDate():
|
||||
if self.conf('automatic') and not self.update_failed:
|
||||
self.doUpdate()
|
||||
if self.doUpdate():
|
||||
fireEvent('app.crappy_restart')
|
||||
else:
|
||||
self.update_version = {
|
||||
'hash': remote.hash[:8],
|
||||
|
||||
Reference in new issue
Block a user