From 9e6994db340bd5b24e6eae4f1fdb6a0ef185e420 Mon Sep 17 00:00:00 2001 From: EillesWan Date: Sun, 21 Nov 2021 12:45:20 +0800 Subject: [PATCH] bug fixes --- msctspt/__pycache__/bugReporter.cpython-38.pyc | Bin 0 -> 3534 bytes msctspt/bugReporter.py | 5 ++++- 补全库(请确保以管理员身份运行).py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 msctspt/__pycache__/bugReporter.cpython-38.pyc diff --git a/msctspt/__pycache__/bugReporter.cpython-38.pyc b/msctspt/__pycache__/bugReporter.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d364a83807101bd2e2fd5ca9628700171c895f4c GIT binary patch literal 3534 zcmZu!>vI#=72lVn)yp`+Jn~lEgrE+V6XSqO2@{BMN((LzCxIPzG;7^!du{E5ySor; zR!ka0%qy6b1W2HR)PxRn8k00MPy=D6-}*1?*LY?7Q$F>3&)JoU%XBq+U+3O)&z{Hc z9KD^*rZ{-`e}AU#eS+hDz{&C_29r17wY#AqoWhYT5s7r1S9sDw1^f~Dsz{O~bv&ks zZ*e3|GRHZRnG_U>2nV?Q3ilu!ZA_n^`~J$}C!a0cy45&+J^1+a{O8AmYqO23e`{R$ zXzsz)VET09;y)YTewtgX&(3}SFgh@Q>Ll*Ca=UTy>mT0#Lojn{;foW&?1lNSP6em0 zElfUGl!1AFNrHCiX@Nl;-Z$a3YtRs$2xYD+g*{)5d9j+{@kI25x>$`nq9=_>wV21% z`ANQ-@T6KC$GzO|-x(CEay3~^c`2CnRnuPD6UPNMaJbJ&c0d=7e=pSc8zX`H$coINprWhQv=>D=Afie@z~PR-r>E|to`vv}|F z!pxV^PN4Sg?AyJ4U}x|8p8SSj`W7&bNWot|n7e!C$NQg0rw$DKZvW2S-0QhlqWRJ> zSm}vYb||~{cER-3u4ukn*|Qy|-O+Rr1n2sF{%Ahy3#RQSK&)Y{OqGP9S$#0@#WFQ~ z$x@wBKS4BRs5@`gNxU`{nwq~sK{(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%vV~QiYY8@_#Z*A zy1+LSWEcivLgaM5ija;;Rj6W>DM7v16VAn|2uVlsgj$Tm>O6_BfhrTy3O5#q>ax8m zIgnaCDM}u&OC~bTNHW@Ycw1<&l)Dx#YZk&MZY)mT2=2cR5e^j|)Wu;QfG?E+C!JxF z>HSLVsAg>J@)O(l?(N+^u)UHU+~e9>31SCol0i4~6Svt5005QM)`T-^8o3TVXK7Zh zX|G&mL#{*1jXI8HZ|Uqr6BiuUPz#O?ku~b71xnmP$>_8--6~V?E76{?StoE0cK zb3z6}1%GW2Mj5`ccFB~FAIT?tus;@f#iE}o7Il+=@54A#EFN~%azu%QM1NuhY&Kzo zNo`q!z8Jb3hNg}GN@PJ2C9y>gSHU0Ab^G%oTa7!{V1t&-$NWUGNX$~P7-AcH2`L!k c;kjiugcpXWB5#f4+=h`5x~wFpI@&h;7d@?5!~g&Q literal 0 HcmV?d00001 diff --git a/msctspt/bugReporter.py b/msctspt/bugReporter.py index be0813c..d224024 100644 --- a/msctspt/bugReporter.py +++ b/msctspt/bugReporter.py @@ -118,7 +118,10 @@ class version: import os if platform == 'win32': import shutil - shutil.rmtree(os.getenv('APPDATA')+'\\Musicreater\\') + try: + shutil.rmtree(os.getenv('APPDATA')+'\\Musicreater\\') + except: + pass; for i in self.libraries: print("安装库:"+i) os.system("python -m pip install "+i+" -i https://pypi.tuna.tsinghua.edu.cn/simple") diff --git a/补全库(请确保以管理员身份运行).py b/补全库(请确保以管理员身份运行).py index aa9047d..8fccb46 100644 --- a/补全库(请确保以管理员身份运行).py +++ b/补全库(请确保以管理员身份运行).py @@ -1,2 +1,2 @@ from msctspt.bugReporter import version -version.installLibraries() \ No newline at end of file +version.installLibraries(version) \ No newline at end of file