mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-04 03:39:58 +00:00
fix(desktop): Don't show distrobox section if it's already configured
This commit is contained in:
parent
477bd371d1
commit
5996573b3c
@ -15,7 +15,7 @@ screens:
|
||||
values:
|
||||
title: Setting up Bazzite Arch
|
||||
condition:
|
||||
run: grep -qv "bazzite-arch" <<< $(distrobox list)
|
||||
run: grep -qvz "bazzite-arch" <<< $(distrobox list)
|
||||
show_terminal: true
|
||||
package_manager: yafti.plugin.run
|
||||
groups:
|
||||
|
@ -19,10 +19,11 @@ install-bazzite-arch:
|
||||
mv ~/.steam/steamcmd ~/.steam/steamcmd.sh
|
||||
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
|
||||
cp ~/.local/share/applications/bazzite-arch-steam.desktop ~/Desktop
|
||||
sed -i 's@Steam (Runtime)@Steam@g' ~/Desktop/bazzite-arch-steam.desktop
|
||||
cp ~/.local/share/applications/bazzite-arch-net.lutris.Lutris.desktop ~/Desktop
|
||||
sleep 10
|
||||
rm ~/Desktop/steam.desktop
|
||||
fi
|
||||
sleep 10
|
||||
[ ! -e ~/Desktop/steam.desktop ] || rm ~/Desktop/steam.desktop
|
||||
|
||||
install-corectrl:
|
||||
echo 'Installing CoreCtrl...''
|
||||
|
Loading…
x
Reference in New Issue
Block a user