fix(kde): Only add Return.desktop on Deck builds, remove Bazzite Portal from desktop

This commit is contained in:
Kyle Gospodnetich 2023-12-28 16:28:17 -08:00
parent a394e16062
commit 304abe092c

View File

@ -53,14 +53,15 @@ if [[ $BASE_IMAGE_NAME =~ "kinoite" ]]; then
if [[ ! -f "$HOME/Desktop/steam.desktop" ]]; then
cp /usr/share/applications/steam.desktop $HOME/Desktop/steam.desktop
fi
if [[ ! -f "$HOME/Desktop/Return.desktop" ]]; then
cp /etc/skel.d/Desktop/Return.desktop $HOME/Desktop/Return.desktop
fi
if [[ ! -f "$HOME/Desktop/net.lutris.Lutris.desktop" ]]; then
cp /usr/share/applications/net.lutris.Lutris.desktop $HOME/Desktop/net.lutris.Lutris.desktop
fi
if [[ ! -f "$HOME/Desktop/yafti.desktop" ]]; then
cp /usr/share/applications/yafti.desktop $HOME/Desktop/yafti.desktop
if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegame" ]]; then
echo 'Running setup for Kinoite on Steam Deck'
if [[ ! -f "$HOME/Desktop/Return.desktop" ]]; then
cp /etc/skel.d/Desktop/Return.desktop $HOME/Desktop/Return.desktop
fi
fi
else
echo 'Running setup for Silverblue'