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)