mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 18:32:48 +00:00
parent
ee08b8c4ac
commit
a524faac6d
@ -444,7 +444,6 @@ RUN /tmp/image-info.sh && \
|
||||
systemctl disable rpm-ostreed-automatic.timer && \
|
||||
systemctl enable ublue-update.timer && \
|
||||
systemctl enable gamescope-workaround.service && \
|
||||
systemctl enable sunshine-workaround.service && \
|
||||
systemctl enable waydroid-workaround.service && \
|
||||
systemctl enable bazzite-hardware-setup.service && \
|
||||
systemctl enable tailscaled.service && \
|
||||
|
@ -60,15 +60,22 @@ configure-waydroid:
|
||||
# Install Sunshine
|
||||
install-sunshine:
|
||||
#!/usr/bin/bash
|
||||
flatpak install --system --noninteractive flathub dev.lizardbyte.app.Sunshine
|
||||
flatpak run --command=additional-install.sh app/dev.lizardbyte.app.Sunshine/x86_64/stable || true
|
||||
sudo sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree.repo
|
||||
sudo sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
|
||||
systemctl enable sunshine-workaround.service
|
||||
ublue-update --wait
|
||||
rpm-ostree install -y sunshine
|
||||
echo "Sunshine is installed!"
|
||||
|
||||
# Remove Sunshine
|
||||
remove-sunshine:
|
||||
#!/usr/bin/bash
|
||||
flatpak run --command=remove-additional-install.sh app/dev.lizardbyte.app.Sunshine/x86_64/stable || true
|
||||
flatpak uninstall --delete-data --noninteractive dev.lizardbyte.sunshine
|
||||
sudo sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree.repo
|
||||
sudo sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
|
||||
systemctl disable sunshine-workaround.service
|
||||
ublue-update --wait
|
||||
rpm-ostree remove -y sunshine
|
||||
echo "Sunshine has been uninstalled."
|
||||
|
||||
# Autostart Sunshine
|
||||
autostart-sunshine:
|
||||
@ -154,7 +161,7 @@ get-steamcmd:
|
||||
install-openrazer:
|
||||
sudo wget https://download.opensuse.org/repositories/hardware:/razer/Fedora_$(rpm -E %fedora)/hardware:razer.repo -O /etc/yum.repos.d/hardware:razer.repo && \
|
||||
ublue-update --wait && \
|
||||
rpm-ostree install openrazer-meta razergenie && \
|
||||
rpm-ostree install -y openrazer-meta razergenie && \
|
||||
if ! grep -q "plugdev" /etc/group; then \
|
||||
sudo bash -c 'grep "plugdev" /lib/group >> /etc/group' \
|
||||
; fi && \
|
||||
|
@ -50,15 +50,22 @@ configure-waydroid:
|
||||
# Install Sunshine
|
||||
install-sunshine:
|
||||
#!/usr/bin/bash
|
||||
flatpak install --system --noninteractive flathub dev.lizardbyte.app.Sunshine
|
||||
flatpak run --command=additional-install.sh app/dev.lizardbyte.app.Sunshine/x86_64/stable || true
|
||||
sudo sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree.repo
|
||||
sudo sed -i '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
|
||||
systemctl enable sunshine-workaround.service
|
||||
ublue-update --wait
|
||||
rpm-ostree install -y sunshine
|
||||
echo "Sunshine is installed!"
|
||||
|
||||
# Remove Sunshine
|
||||
remove-sunshine:
|
||||
#!/usr/bin/bash
|
||||
flatpak run --command=remove-additional-install.sh app/dev.lizardbyte.app.Sunshine/x86_64/stable || true
|
||||
flatpak uninstall --delete-data --noninteractive dev.lizardbyte.sunshine
|
||||
sudo sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree.repo
|
||||
sudo sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
|
||||
systemctl disable sunshine-workaround.service
|
||||
ublue-update --wait
|
||||
rpm-ostree remove -y sunshine
|
||||
echo "Sunshine has been uninstalled."
|
||||
|
||||
# Autostart Sunshine
|
||||
autostart-sunshine:
|
||||
|
Loading…
x
Reference in New Issue
Block a user