Procházet zdrojové kódy

Merge pull request #69 from MrP1xel/master

Update __init__.py : adding an image
GNU před 5 roky
rodič
revize
1912b4e4af
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      Menu/GameShell/PowerOFF/__init__.py

+ 3 - 2
Menu/GameShell/PowerOFF/__init__.py

@@ -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))