This commit is contained in:
DenzelChen 2021-11-15 14:35:08 +08:00
commit edae9af6cb
1 changed files with 2 additions and 3 deletions

View File

@ -5,9 +5,8 @@ os.system("cd /usr/bin && sudo rm python && sudo ln -s python3 python")
flag=0x00
for x in range(1,4):
if os.system("sudo apt-get update") == 0:
if os.system("sudo apt-get upgrade -y") == 0:
flag=flag | 0x01
break
flag=flag | 0x01
break
for x in range(1,4):
if os.system("sudo apt-get install -y python3-dev python3-pyqt5 ") == 0:
flag=flag | 0x02