pocket-friends/pocket_friends/development/dev.py

17 lines
296 B
Python
Raw Normal View History

import os
2023-05-14 19:41:44 -04:00
import sys
import pygame
def reboot_system():
os.system('sudo reboot')
def shutdown_system():
2023-05-14 19:32:12 -04:00
os.system('sudo shutdown now')
2023-05-14 19:41:44 -04:00
def update():
os.system('bash "cd ~/pocket_friends && git pull"')
os.system('bash "cd ~/pocket_friends && git checkout ."')
sys.exit(1)