From 3601d69fef81143c80a444079917a16867c8f54d Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 28 Sep 2022 20:38:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")