pocket-friends/pocket_friends/_development/_dev.py

23 lines
309 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():
pygame.quit()
2023-05-14 19:46:59 -04:00
os.system('bash ~/update.sh')
2023-05-14 19:45:34 -04:00
sys.exit(1)
def restart_app():
2023-05-14 23:04:26 -04:00
sys.exit(1)
def show_black():
return 'show_black'