2023-05-14 19:06:50 -04:00
|
|
|
import os
|
2023-05-14 19:41:44 -04:00
|
|
|
import sys
|
|
|
|
|
|
|
|
import pygame
|
2023-05-14 19:06:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
def reboot_system():
|
2023-05-14 19:26:38 -04:00
|
|
|
os.system('sudo reboot')
|
2023-05-14 19:06:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
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)
|