From 995aad52738afb9ae354abea791cbb2ccb966f8f Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 12 Jul 2023 12:11:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96exagear=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mainwindow.py b/mainwindow.py index 2395993..6da95b7 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -2358,6 +2358,14 @@ def CheckWine(): f"WINEPREDLL='{programPath}/dlls-arm' WINEDLLPATH=/opt/deepin-wine6-stable/lib /opt/exagear/bin/ubt_x64a64_al --path-prefix {get_home()}/.deepinwine/debian-buster --utmp-paths-list {get_home()}/.deepinwine/debian-buster/.exagear/utmp-list --vpaths-list {get_home()}/.deepinwine/debian-buster/.exagear/vpaths-list --opaths-list {get_home()}/.deepinwine/debian-buster/.exagear/opaths-list --smo-mode fbase --smo-severity smart --fd-limit 8192 --foreign-ubt-binary /opt/exagear/bin/ubt_x32a64_al -- " ] ) + if os.system("which exagear") == 0: + nameValue.append( + [ + "运行 exagear 容器内的 ", + f"exagear -- " + ] + ) + if os.path.exists("/opt/exagear/bin/ubt_x64a64_al"): nameValue.append( [ @@ -2365,6 +2373,7 @@ def CheckWine(): "/opt/exagear/bin/ubt_x64a64_al -- " ] ) + if os.path.exists("/opt/exagear/bin/ubt_x32a64_al"): nameValue.append( [