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
@ -202,6 +202,8 @@ 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())
|
||||
@ -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