修改简易打包器打包策略

This commit is contained in:
gfdgd xi 2023-08-08 20:53:32 +08:00
parent 47cffa0637
commit 1942299850

View File

@ -644,8 +644,9 @@ if __name__ == "__main__":
"使用 Deepin Wine5 打包应用",
"使用 Deepin Wine2 打包应用"
]
wineChooserIndex = 0
wineChooserIndex = 2
wineList = ["spark-wine8", "spark-wine7-devel", "deepin-wine6-stable", "deepin-wine5-stable", "deepin-wine5", "deepin-wine"]
if os.system("which deepin-wine6-stable"):
for i in range(len(wineList)):
if not os.system(f"which '{wineList[i]}'"):
wineChooserIndex = i