bug fixes

This commit is contained in:
EillesWan 2021-11-21 12:45:20 +08:00
parent f8165b0e45
commit 9e6994db34
3 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -118,7 +118,10 @@ class version:
import os import os
if platform == 'win32': if platform == 'win32':
import shutil import shutil
try:
shutil.rmtree(os.getenv('APPDATA')+'\\Musicreater\\') shutil.rmtree(os.getenv('APPDATA')+'\\Musicreater\\')
except:
pass;
for i in self.libraries: for i in self.libraries:
print("安装库:"+i) print("安装库:"+i)
os.system("python -m pip install "+i+" -i https://pypi.tuna.tsinghua.edu.cn/simple") os.system("python -m pip install "+i+" -i https://pypi.tuna.tsinghua.edu.cn/simple")

View File

@ -1,2 +1,2 @@
from msctspt.bugReporter import version from msctspt.bugReporter import version
version.installLibraries() version.installLibraries(version)