switching status wallpaper during updating,remove confirmation while deleting in game favourite list

This commit is contained in:
cuu
2018-05-28 12:48:39 +08:00
parent bab99ffbc5
commit d131352291
5 changed files with 23 additions and 11 deletions

View File

@@ -111,7 +111,7 @@ class UpdateConfirmPage(ConfirmPage):
if event.key == CurKeys["B"]:
if self._GIT == True:
cmdpath = "cd /home/cpi/apps/launcher ;git pull; git reset --hard %s " % self._Version
cmdpath = "feh --bg-center /home/cpi/apps/launcher/sys.py/gameshell/wallpaper/updating.png; cd /home/cpi/apps/launcher ;git pull; git reset --hard %s ; feh --bg-center /home/cpi/apps/launcher/sys.py/gameshell/wallpaper/loading.png " % self._Version
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
self._GIT = False
return