fixed update commands

This commit is contained in:
Nicholas Dyer 2023-05-14 19:45:34 -04:00
parent ad97725634
commit d7a01340b7

View File

@ -12,8 +12,9 @@ def shutdown_system():
os.system('sudo shutdown now')
def update():
os.system('bash "export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin && cd ~/pocket_friends && git '
'pull"')
os.system('bash "export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin && cd ~/pocket_friends && git '
'checkout ."')
os.system('bash "cd ~/pocket_friends & git pull"')
os.system('bash "cd ~/pocket_friends & git checkout ."')
sys.exit(1)
def restart_app():
sys.exit(1)