mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-22 03:42:41 +01:00
PreparationInAdv to config.py
This commit is contained in:
@@ -3,11 +3,11 @@ import os
|
||||
import pygame
|
||||
#import math
|
||||
#mport subprocess
|
||||
import platform
|
||||
#from beeprint import pp
|
||||
from libs.roundrects import aa_round_rect
|
||||
|
||||
## local UI import
|
||||
from UI.util_funcs import ArmSystem
|
||||
from UI.lang_manager import MyLangManager
|
||||
|
||||
class APIOBJ(object):
|
||||
@@ -24,9 +24,8 @@ class APIOBJ(object):
|
||||
main_screen._MsgBox.Draw()
|
||||
main_screen.SwapAndShow()
|
||||
pygame.time.delay(300)
|
||||
if "arm" in platform.machine():
|
||||
os.system("sed -i s/launcher/launchergo/g ~/.bashrc" )
|
||||
os.system("sudo reboot")
|
||||
ArmSystem("sed -i s/launcher/launchergo/g ~/.bashrc" )
|
||||
ArmSystem("sudo reboot")
|
||||
|
||||
OBJ = APIOBJ()
|
||||
def Init(main_screen):
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import pygame
|
||||
import platform
|
||||
#import commands
|
||||
import glob
|
||||
#from beeprint import pp
|
||||
|
||||
Reference in New Issue
Block a user