More info for update.available notification. fix #201
This commit is contained in:
@@ -56,7 +56,7 @@ class Updater(Plugin):
|
|||||||
fireEventAsync('app.crappy_restart')
|
fireEventAsync('app.crappy_restart')
|
||||||
else:
|
else:
|
||||||
if self.conf('notification'):
|
if self.conf('notification'):
|
||||||
fireEvent('updater.available', message = 'A new update is available', data = self.updater.getVersion())
|
fireEvent('updater.available', message = 'A new update is available', data = self.updater.info())
|
||||||
|
|
||||||
def info(self):
|
def info(self):
|
||||||
return self.updater.info()
|
return self.updater.info()
|
||||||
|
|||||||
Reference in New Issue
Block a user