diff --git a/mainwindow.py b/mainwindow.py index ee2b84b..4c5126e 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -1024,7 +1024,7 @@ class GetDllFromWindowsISO: if os.path.exists("/tmp/wine-runner-getdll"): try: os.rmdir("/tmp/wine-runner-getdll") - os.rmdir("/tmp/wine-runner-getdll-wim") + os.system("rm -rf /tmp/wine-runner-getdll-wim") except: # 如果无法删除可能是挂载了文件 os.system("wimunmount /tmp/wine-runner-getdll-wim")