mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-15 03:08: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)
|
pygame.event.clear(GMEVT)
|
||||||
return
|
return
|
||||||
if event.type == RUNEVT:
|
if event.type == RUNEVT:
|
||||||
|
everytime_keydown = time.time()
|
||||||
|
RestoreLastBackLightBrightness(main_screen)
|
||||||
|
|
||||||
if config.DontLeave==True:
|
if config.DontLeave==True:
|
||||||
os.chdir(GetExePath())
|
os.chdir(GetExePath())
|
||||||
@ -225,6 +227,8 @@ def event_process(event,main_screen):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if event.type == RUNSYS:
|
if event.type == RUNSYS:
|
||||||
|
everytime_keydown = time.time()
|
||||||
|
RestoreLastBackLightBrightness(main_screen)
|
||||||
if config.DontLeave==True:
|
if config.DontLeave==True:
|
||||||
os.chdir(GetExePath())
|
os.chdir(GetExePath())
|
||||||
os.system( "/bin/sh -c "+event.message)
|
os.system( "/bin/sh -c "+event.message)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user