mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +00:00
fix(desktop): Use distrobox create over distrobox assemble due to reported issues, ensure output is visible in Bazzite Portal.
This commit is contained in:
parent
09062f9c58
commit
2cf7a2fc29
@ -1,9 +0,0 @@
|
|||||||
[bazzite-arch]
|
|
||||||
image=ghcr.io/ublue-os/bazzite-arch
|
|
||||||
init=false
|
|
||||||
nvidia=true
|
|
||||||
pull=true
|
|
||||||
root=false
|
|
||||||
replace=true
|
|
||||||
start_now=true
|
|
||||||
volume="/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so /usr/share/icons:/usr/share/icons /usr/share/themes:/usr/share/themes"
|
|
@ -1,15 +1,15 @@
|
|||||||
install-bazzite-arch:
|
install-bazzite-arch:
|
||||||
source /etc/default/bazzite && \
|
source /etc/default/bazzite && \
|
||||||
echo 'Installing Bazzite Arch...' && \
|
echo 'Installing Bazzite Arch...' && \
|
||||||
distrobox assemble create --file /usr/share/ublue-os/distrobox/bazzite-arch && \
|
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then \
|
||||||
distrobox-enter -n bazzite-arch -- ' sudo locale-gen' && \
|
distrobox create --name bazzite-arch --image ghcr.io/ublue-os/bazzite-arch --nvidia --pull --volume /usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so:ro --volume /usr/share/icons:/usr/share/icons:ro --volume /usr/share/themes:/usr/share/themes:ro; \
|
||||||
|
else \
|
||||||
|
distrobox create --name bazzite-arch --image ghcr.io/ublue-os/bazzite-arch-gnome --nvidia --pull --volume /usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so:ro --volume /usr/share/icons:/usr/share/icons:ro --volume /usr/share/themes:/usr/share/themes:ro; \
|
||||||
|
fi && \
|
||||||
|
echo 'Exporting applications...' && \
|
||||||
|
distrobox-enter -n bazzite-arch -- 'bash -c "sudo locale-gen && distrobox-export --app steam && distrobox-export --app lutris && distrobox-export --app protontricks && mkdir -p $HOME/.steam && distrobox-export --bin /usr/bin/steamcmd --export-path ~/.steam && mv $HOME/.steam/steamcmd $HOME/.steam/steamcmd.sh"' && \
|
||||||
|
echo 'Starting Steam...' && \
|
||||||
distrobox-enter -n bazzite-arch -- ' /usr/bin/bazzite-steam-runtime --silent &>/dev/null &' && \
|
distrobox-enter -n bazzite-arch -- ' /usr/bin/bazzite-steam-runtime --silent &>/dev/null &' && \
|
||||||
distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam' && \
|
|
||||||
distrobox-enter -n bazzite-arch -- ' distrobox-export --app lutris' && \
|
|
||||||
distrobox-enter -n bazzite-arch -- ' distrobox-export --app protontricks' && \
|
|
||||||
mkdir -p $HOME/.steam && \
|
|
||||||
distrobox-enter -n bazzite-arch -- ' distrobox-export --bin /usr/bin/steamcmd --export-path ~/.steam' && \
|
|
||||||
mv $HOME/.steam/steamcmd $HOME/.steam/steamcmd.sh && \
|
|
||||||
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then \
|
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then \
|
||||||
echo 'Creating desktop shortcuts...' && \
|
echo 'Creating desktop shortcuts...' && \
|
||||||
cp ~/.local/share/applications/bazzite-arch-steam.desktop ~/Desktop/bazzite-arch-steam.desktop && \
|
cp ~/.local/share/applications/bazzite-arch-steam.desktop ~/Desktop/bazzite-arch-steam.desktop && \
|
||||||
@ -17,8 +17,9 @@ install-bazzite-arch:
|
|||||||
cp ~/.local/share/applications/bazzite-arch-net.lutris.Lutris.desktop ~/Desktop/bazzite-arch-net.lutris.Lutris.desktop && \
|
cp ~/.local/share/applications/bazzite-arch-net.lutris.Lutris.desktop ~/Desktop/bazzite-arch-net.lutris.Lutris.desktop && \
|
||||||
sed -i 's@ (on bazzite-arch)@@g' ~/Desktop/bazzite-arch-net.lutris.Lutris.desktop; \
|
sed -i 's@ (on bazzite-arch)@@g' ~/Desktop/bazzite-arch-net.lutris.Lutris.desktop; \
|
||||||
fi && \
|
fi && \
|
||||||
|
echo 'Finalizing...' && \
|
||||||
sleep 10 && \
|
sleep 10 && \
|
||||||
[ ! -e ~/Desktop/steam.desktop ] || rm -f ~/Desktop/steam.desktop
|
rm -f ~/Desktop/steam.desktop
|
||||||
|
|
||||||
configure-waydroid:
|
configure-waydroid:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
[bazzite-arch]
|
|
||||||
image=ghcr.io/ublue-os/bazzite-arch-gnome
|
|
||||||
init=false
|
|
||||||
nvidia=true
|
|
||||||
pull=true
|
|
||||||
root=false
|
|
||||||
replace=true
|
|
||||||
start_now=true
|
|
||||||
volume="/usr/lib/extest/libextest.so:/usr/lib/extest/libextest.so /usr/share/icons:/usr/share/icons /usr/share/themes:/usr/share/themes"
|
|
Loading…
x
Reference in New Issue
Block a user