From ca5edef4869ffd50cf9ebd36102f07d93c4cebf2 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Fri, 2 Feb 2024 09:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deepin-wine-packager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepin-wine-packager.py b/deepin-wine-packager.py index 4b0d21f..d483ab5 100755 --- a/deepin-wine-packager.py +++ b/deepin-wine-packager.py @@ -2233,7 +2233,7 @@ def ToRpm(): QtWidgets.QMessageBox.information(window, "提示", "打包完成!") def ToTarZst(): - if os.system("debtap"): + if os.system("which debtap"): QtWidgets.QMessageBox.critical(window, "错误", "无法找到 debtap 命令,请先安装 debtap") return os.system(f"debtap -Q '{e12_text.text()}'")