Ejemplo n.º 1
0
 def onStart(self):
     updt = updater()
     rc = updt.isUpgraded()
     if rc != None :
         if rc : 
             xbmc.executebuiltin("Notification('Upgrade','Your system is upgraded')")
         else :
             xbmc.executebuiltin("Notification('Upgrade','Something went wrong while upgrading')") 
Ejemplo n.º 2
0
 def setXbianValue(self, value):
     print "coco setupdate" + str(value)
     progress = updater(True)
     return progress.isUpgraded()