From b6d48eca11b03bce3fa9fec0deec405fb03b95ac Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 28 Jan 2023 18:18:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E9=80=89=E6=8B=A9de?= =?UTF-8?q?b=E5=8C=85=E5=90=8E=E8=A2=AB=E7=A6=81=E7=94=A8=E7=9A=84spark=20?= =?UTF-8?q?wine=20helper=E9=80=89=E9=A1=B9=E8=A2=AB=E5=8B=BE=E9=80=89?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deepin-wine-packager.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/deepin-wine-packager.py b/deepin-wine-packager.py index dd50621..6bcf069 100755 --- a/deepin-wine-packager.py +++ b/deepin-wine-packager.py @@ -1650,7 +1650,8 @@ def ReadDeb(unzip = False): lnkMap[name].setText(value) 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 chooseWineHelperValue.setChecked(True) if name == "APPRUN_CMD" and value in wineValue: @@ -1680,7 +1681,8 @@ def ReadDeb(unzip = False): lnkMap[name].setText(value) 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 chooseWineHelperValue.setChecked(True) if name == "APPRUN_CMD" and value in wineValue: @@ -1710,7 +1712,8 @@ def ReadDeb(unzip = False): lnkMap[name].setText(value) 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 chooseWineHelperValue.setChecked(True) if name == "APPRUN_CMD" and value in wineValue: