From 71917c5451740356bfb45ed0114cb4fa42f12af7 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 31 Jan 2024 22:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=94=B9=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deb/DEBIAN/postinst | 2 +- mainwindow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deb/DEBIAN/postinst b/deb/DEBIAN/postinst index 6210532..47193db 100755 --- a/deb/DEBIAN/postinst +++ b/deb/DEBIAN/postinst @@ -94,6 +94,6 @@ fi # fi #fi # 设置目录权限,让用户可读可写,方便后续删除组件 -chmod 777 -R /opt/apps/deepin-wine-runner +chmod 777 -R /opt/apps/deepin-wine-runner > /dev/null 2>&1 | true # 向服务器返回安装数加1(不显示内容且忽略错误) python3 /opt/apps/deepin-wine-runner/Download.py $version > /dev/null 2>&1 | true diff --git a/mainwindow.py b/mainwindow.py index ffe9325..0a46257 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -3457,7 +3457,7 @@ for i in [ for x in i[0]: x.setDisabled(True) # 有些功能是 Arch Linux 不适用的,需要屏蔽 -if not os.path.exists("/etc/arch-release"): +if os.path.exists("/etc/arch-release"): for i in [installLat, installWineHQ, installWineHQOrg, installBox86CN, installBox86, installBox86Own, addWineDebMirrorForDeepin20]: i.setDisabled(True)