This commit is contained in:
Mr Chen
2024-11-05 01:39:07 +08:00
parent 4d44650609
commit 804f7646d1
3 changed files with 15 additions and 7 deletions
+5 -2
View File
@@ -11,8 +11,11 @@ import shutil
# reload(sys)
# sys.setdefaultencoding('utf8')
sys.path.append(os.getcwd() + "/class/core")
import mw
try:
sys.path.append(os.getcwd() + "/class/core")
import mw
except Exception as e:
import core.mw as mw
if mw.isAppleSystem():
cmd = 'ls /usr/local/lib/ | grep python | cut -d \\ -f 1 | awk \'END {print}\''