Merge pull request #69 from MrP1xel/master

Update __init__.py : adding an image
This commit is contained in:
GNU
2018-07-28 10:13:51 +08:00
committed by GitHub

View File

@@ -61,8 +61,9 @@ class PowerOffConfirmPage(ConfirmPage):
pygame.event.post( pygame.event.Event(RUNSYS, message=cmdpath))
if event.key == CurKeys["X"]:
cmdpath = "sudo reboot"
cmdpath = "feh --bg-center gameshell/wallpaper/seeyou.png;"
cmdpath += "sleep 3;"
cmdpath += "sudo reboot"
pygame.event.post( pygame.event.Event(RUNSYS, message=cmdpath))