diff --git a/.gitignore b/.gitignore index 3f5f648..7015936 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ retroarch-core-options.cfg sys.py/.powerlevel sys.py/.buttonslayout *.cfg +**/Jobs/* +!**/Jobs/.gitkeep diff --git a/sys.py/gsnotify/Jobs/.gitkeep b/sys.py/gsnotify/Jobs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys.py/gsnotify/gsnotify-arm b/sys.py/gsnotify/gsnotify-arm new file mode 100755 index 0000000..c4eb6a1 Binary files /dev/null and b/sys.py/gsnotify/gsnotify-arm differ diff --git a/sys.py/run.py b/sys.py/run.py index 4da8a3a..c52931e 100644 --- a/sys.py/run.py +++ b/sys.py/run.py @@ -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()