瀏覽代碼

Z991239-5389 #comment 暂未商定结论,暂时不黑屏UOS

80374374 1 年之前
父節點
當前提交
ada1a938a4
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 1
      addin/packaging/UOS/installsh.in
  2. 2 1
      addin/packaging/UOS/original.sh

+ 2 - 1
addin/packaging/UOS/installsh.in

@@ -341,7 +341,8 @@ if [ $res -eq 0 ]; then
 	echo "[INFO]: Copy application icon to desktop..."
 	cp ${rvc_pkg_rvc}/Resources/spexplorerauto.desktop /home/$rvc_user/Desktop
 
-    if [ $installType -eq 1 ]; then
+	#暂未商定结论,暂时不黑屏UOS
+    if [ $installType -eq 5 ]; then
         echo [INFO]去除桌面组件应用程序的执行权限,实现开机黑屏
         sudo chmod -x /usr/bin/dde-desktop
         sudo chmod -x /usr/bin/dde-dock

+ 2 - 1
addin/packaging/UOS/original.sh

@@ -353,7 +353,8 @@ if [ $res -eq 0 ]; then
 	echo "[INFO]: Copy application icon to desktop..."
 	cp ${rvc_pkg_rvc}/Resources/spexplorerauto.desktop /home/$rvc_user/Desktop
 
-    if [ $installType -eq 1 ]; then
+	#暂未商定结论,暂时不黑屏UOS
+    if [ $installType -eq 5 ]; then
         echo [INFO]去除桌面组件应用程序的执行权限,实现开机黑屏
         sudo chmod -x /usr/bin/dde-desktop
         sudo chmod -x /usr/bin/dde-dock