修复在选择deb包后被禁用的spark wine helper选项被勾选的问题

This commit is contained in:
gfdgd xi 2023-01-28 18:18:46 +08:00
parent 6b37c6b729
commit b6d48eca11

View File

@ -1650,7 +1650,8 @@ def ReadDeb(unzip = False):
lnkMap[name].setText(value) lnkMap[name].setText(value)
continue continue
# 其它的特殊情况判断 # 其它的特殊情况判断
if name == "START_SHELL_PATH" and value == "/opt/deepinwine/tools/spark_run_v4.sh": # 在选择 arm 架构的情况下不勾选
if name == "START_SHELL_PATH" and value == "/opt/deepinwine/tools/spark_run_v4.sh" and debArch.currentIndex() == 0:
# helper # helper
chooseWineHelperValue.setChecked(True) chooseWineHelperValue.setChecked(True)
if name == "APPRUN_CMD" and value in wineValue: if name == "APPRUN_CMD" and value in wineValue:
@ -1680,7 +1681,8 @@ def ReadDeb(unzip = False):
lnkMap[name].setText(value) lnkMap[name].setText(value)
continue continue
# 其它的特殊情况判断 # 其它的特殊情况判断
if name == "START_SHELL_PATH" and value == "/opt/deepinwine/tools/spark_run_v4.sh": # 在选择 arm 架构的情况下不勾选
if name == "START_SHELL_PATH" and value == "/opt/deepinwine/tools/spark_run_v4.sh" and debArch.currentIndex() == 0:
# helper # helper
chooseWineHelperValue.setChecked(True) chooseWineHelperValue.setChecked(True)
if name == "APPRUN_CMD" and value in wineValue: if name == "APPRUN_CMD" and value in wineValue:
@ -1710,7 +1712,8 @@ def ReadDeb(unzip = False):
lnkMap[name].setText(value) lnkMap[name].setText(value)
continue continue
# 其它的特殊情况判断 # 其它的特殊情况判断
if name == "START_SHELL_PATH" and value == "/opt/deepinwine/tools/spark_run_v4.sh": # 在选择 arm 架构的情况下不勾选
if name == "START_SHELL_PATH" and value == "/opt/deepinwine/tools/spark_run_v4.sh" and debArch.currentIndex() == 0:
# helper # helper
chooseWineHelperValue.setChecked(True) chooseWineHelperValue.setChecked(True)
if name == "APPRUN_CMD" and value in wineValue: if name == "APPRUN_CMD" and value in wineValue: