mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
add gsnotify
This commit is contained in:
parent
2f92f62dae
commit
dce2cfa43f
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,3 +6,5 @@ retroarch-core-options.cfg
|
||||
sys.py/.powerlevel
|
||||
sys.py/.buttonslayout
|
||||
*.cfg
|
||||
**/Jobs/*
|
||||
!**/Jobs/.gitkeep
|
||||
|
||||
0
sys.py/gsnotify/Jobs/.gitkeep
Normal file
0
sys.py/gsnotify/Jobs/.gitkeep
Normal file
BIN
sys.py/gsnotify/gsnotify-arm
Executable file
BIN
sys.py/gsnotify/gsnotify-arm
Executable file
Binary file not shown.
@ -296,7 +296,7 @@ def event_process(event,main_screen):
|
||||
pygame.quit()
|
||||
gobject_main_loop.quit()
|
||||
os.chdir( GetExePath())
|
||||
exec_app_cmd = "cd "+os.path.dirname(event.message)+";"
|
||||
exec_app_cmd = "./gsnotify/gsnotify-arm& cd "+os.path.dirname(event.message)+";"
|
||||
exec_app_cmd += event.message
|
||||
exec_app_cmd += "; sync & cd "+GetExePath()+"; exec python "+myscriptname
|
||||
print(exec_app_cmd)
|
||||
@ -539,6 +539,8 @@ if __name__ == '__main__':
|
||||
os.system("sudo iw wlan0 set power_save off")
|
||||
else:
|
||||
os.system("sudo iw wlan0 set power_save on")
|
||||
|
||||
|
||||
os.spawnlp(os.P_NOWAIT,"./gsnotify/gsnotify-arm", "./gsnotify/gsnotify-arm")
|
||||
|
||||
big_loop()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user