mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
...
This commit is contained in:
parent
3a1104434b
commit
c2992b65e4
@ -169,7 +169,7 @@ def InspectionTeam(main_screen):
|
||||
main_screen._CounterScreen.Draw()
|
||||
main_screen._CounterScreen.SwapAndShow()
|
||||
main_screen._CounterScreen.StartCounter()
|
||||
|
||||
|
||||
|
||||
try:
|
||||
f = open(config.BackLight,"r+")
|
||||
@ -202,7 +202,9 @@ def event_process(event,main_screen):
|
||||
pygame.event.clear(GMEVT)
|
||||
return
|
||||
if event.type == RUNEVT:
|
||||
|
||||
everytime_keydown = time.time()
|
||||
RestoreLastBackLightBrightness(main_screen)
|
||||
|
||||
if config.DontLeave==True:
|
||||
os.chdir(GetExePath())
|
||||
os.system( "/bin/sh -c "+event.message)
|
||||
@ -225,6 +227,8 @@ def event_process(event,main_screen):
|
||||
return
|
||||
|
||||
if event.type == RUNSYS:
|
||||
everytime_keydown = time.time()
|
||||
RestoreLastBackLightBrightness(main_screen)
|
||||
if config.DontLeave==True:
|
||||
os.chdir(GetExePath())
|
||||
os.system( "/bin/sh -c "+event.message)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user