mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 01:27:35 +08:00
bug fixes
This commit is contained in:
parent
f8165b0e45
commit
9e6994db34
BIN
msctspt/__pycache__/bugReporter.cpython-38.pyc
Normal file
BIN
msctspt/__pycache__/bugReporter.cpython-38.pyc
Normal file
Binary file not shown.
@ -118,7 +118,10 @@ class version:
|
|||||||
import os
|
import os
|
||||||
if platform == 'win32':
|
if platform == 'win32':
|
||||||
import shutil
|
import shutil
|
||||||
shutil.rmtree(os.getenv('APPDATA')+'\\Musicreater\\')
|
try:
|
||||||
|
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")
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
from msctspt.bugReporter import version
|
from msctspt.bugReporter import version
|
||||||
version.installLibraries()
|
version.installLibraries(version)
|
Loading…
Reference in New Issue
Block a user