From 449e84775f7f4bdaccc139d5bf85baf1163932dc Mon Sep 17 00:00:00 2001 From: shenmo Date: Fri, 30 Aug 2024 05:14:42 +0000 Subject: [PATCH] =?UTF-8?q?update=20=E6=89=93=E5=8C=85=E7=94=A8=E4=BE=8B/r?= =?UTF-8?q?un.sh.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shenmo --- 打包用例/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/打包用例/run.sh b/打包用例/run.sh index 5a99853..d9c7ce9 100755 --- a/打包用例/run.sh +++ b/打包用例/run.sh @@ -48,6 +48,8 @@ Get_Dist_Name() DISTRO='Deepin' elif grep -Eqi "UnionTech" /etc/issue || grep -Eq "UnionTech" /etc/*-release; then DISTRO='UniontechOS' + elif grep -Eqi "GXDE" /etc/issue || grep -Eq "GXDE" /etc/*-release; then + DISTRO='GXDE' elif grep -Eqi "UOS" /etc/issue || grep -Eq "UOS" /etc/*-release; then DISTRO='UniontechOS' else @@ -109,7 +111,7 @@ DISABLE_ATTACH_FILE_DIALOG="" ##############<<<<<<<<<禁用文件选择工具开始 Get_Dist_Name #此功能实现参见开头函数段 -if [ "$DISTRO" != "Deepin" ] && [ "$DISTRO" != "UniontechOS" ];then +if [ "$DISTRO" != "Deepin" ] && [ "$DISTRO" != "UniontechOS" ]&& [ "$DISTRO" != "GXDE" ];then DISABLE_ATTACH_FILE_DIALOG="1" echo "非deepin/UOS,默认关闭系统自带的文件选择工具,使用Wine的" echo "如果你想改变这个行为,请到/opt/apps/$DEB_PACKAGE_NAME/files/$0处修改"