Fix bug 130097 and change name in desktop file

This commit is contained in:
liu-yi92 2022-07-16 13:31:22 +08:00
parent 490e99df16
commit 9f254ceffd
3 changed files with 22 additions and 4 deletions

View File

@ -17,7 +17,13 @@ gsettings set org.ukui.screensaver idle-activation-enabled false || true
gsettings set org.ukui.power-manager sleep-display-ac -1 || true
gsettings set org.ukui.power-manager sleep-display-battery -1 || true
GRANTED_XHOST_ROOT=no
if env | grep XDG_SESSION_TYPE|grep wayland > /dev/null 2>&1; then
if ! xhost | grep -qi 'SI:localuser:root$'; then
xhost +SI:localuser:root
GRANTED_XHOST_ROOT=yes
fi
fi
# 卸载可能由于自动挂载的目录
sudo umount /media/*/* || true
@ -27,3 +33,7 @@ sudo xmodmap -e "keycode 133 =" || true
sudo xmodmap -e "keycode 134 =" || true
sudo /usr/lib/udisks2/udisks2-inhibit /usr/bin/kylin-os-installer
if test "x$GRANTED_XHOST_ROOT" = 'xyes'; then
xhost -SI:localuser:root
fi

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
kylin-os-installer (0.2.1-0k4) yangtze; urgency=medium
* BUG 130097
* 需求号:无
* 其他改动修改desktop Name
-- liuyi <liuyi@kylinos.cn> Sat, 16 Jul 2022 13:14:55 +0800
kylin-os-installer (0.2.1-0k3) yangtze; urgency=medium
* 部分机型安装后无法识别到启动项,需要手动挂载

View File

@ -2,11 +2,11 @@
Encoding=UTF-8
Type=Application
Version=1.0
Name=Install Kylin
Name[zh_CN]=安装 Kylin
Name=Install openKylin
Name[zh_CN]=安装 openKylin
GenericName=Kylin OS Installer
Exec=/usr/bin/kylin-os-installer-live
Comment=Kylin — Installer for Kylin Live
Comment=Kylin — Installer for openKylin Live
Keywords=kylin;system;install;debian;installer
Icon=kylin-os-installer
Terminal=false