Merge pull request #94 from cuu/master

1.22
This commit is contained in:
GNU 2018-08-12 16:00:43 +08:00 committed by GitHub
commit c317ba5d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 3 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@ retroarch-core-options.cfg
sys.py/.powerlevel
sys.py/.buttonslayout
*.cfg
**/Jobs/*
!**/Jobs/.gitkeep

View File

@ -12,7 +12,7 @@ MPD_socket = "/tmp/mpd.socket"
UPDATE_URL="https://raw.githubusercontent.com/clockworkpi/CPI/master/launcher_ver.json"
VERSION="stable 1.21"
VERSION="stable 1.22"
SKIN="default"

View File

BIN
sys.py/gsnotify/gsnotify-arm Executable file

Binary file not shown.

View File

@ -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()