This commit is contained in:
gfdgd xi 2024-02-02 09:26:21 +08:00
parent 44c7d4fe3b
commit ca5edef486

View File

@ -2233,7 +2233,7 @@ def ToRpm():
QtWidgets.QMessageBox.information(window, "提示", "打包完成!") QtWidgets.QMessageBox.information(window, "提示", "打包完成!")
def ToTarZst(): def ToTarZst():
if os.system("debtap"): if os.system("which debtap"):
QtWidgets.QMessageBox.critical(window, "错误", "无法找到 debtap 命令,请先安装 debtap") QtWidgets.QMessageBox.critical(window, "错误", "无法找到 debtap 命令,请先安装 debtap")
return return
os.system(f"debtap -Q '{e12_text.text()}'") os.system(f"debtap -Q '{e12_text.text()}'")