notifica aggiornamento

This commit is contained in:
marco
2020-04-17 23:20:34 +02:00
parent a37f5e918e
commit def7cb206c

View File

@@ -174,6 +174,7 @@ def check(background=False):
'w') # il file di tracking viene eliminato, lo ricreo
if addon.getSetting("addon_update_message"):
if background:
platformtools.dialog_notification(config.get_localized_string(20000), 'Aggiornato fino al commit ' + commits[0]['sha'][:7] + '\napri il menu principale per vedere il changelog')
with open(xbmc.translatePath(changelogFile), 'a+') as fileC:
fileC.write(changelog)
elif changelog: