Update file.py

This commit is contained in:
Mr Chen 2024-12-03 15:34:14 +08:00
parent 2e17870d03
commit a718db5457
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ def uncompress(sfile, dfile, path):
return mw.returnData(False, 'macosx暂时不支持rar格式解压')
try:
tmps = mw.getRunDir() + '/logs/panel_exec.log'
tmps = mw.getPanelDir() + '/logs/panel_exec.log'
if extension == 'zip':
cmd = "cd " + path + " && unzip -o -d '" + dfile + "' '" + sfile + "' > " + tmps + " 2>&1 &"
mw.execShell(cmd)