mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 09:32:55 +00:00
feat: Add scrcpy to just and yafti
This commit is contained in:
parent
d28a0393f8
commit
86ac62be24
@ -81,6 +81,11 @@ screens:
|
||||
default: false
|
||||
packages:
|
||||
- Install Resilio Sync: just --unstable install-resilio-sync
|
||||
scrcpy:
|
||||
description: scrcpy provides display and control of Android devices connected on USB (or over TCP/IP)
|
||||
default: false
|
||||
packages:
|
||||
- Install Resilio Sync: just --unstable install-scrcpy
|
||||
SteamCMD:
|
||||
description: Installs SteamCMD
|
||||
default: true
|
||||
|
@ -97,3 +97,12 @@ install-resilio-sync:
|
||||
rm -f ~/.config/systemd/user/fedora-resilio-sync.service && \
|
||||
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/resilio_sync/fedora-resilio-sync.service -O ~/.config/systemd/user/fedora-resilio-sync.service && \
|
||||
systemctl enable --user --now fedora-resilio-sync.service
|
||||
|
||||
# Install scrcpy, a utility that mirrors Android devices (video and audio) connected via USB or over TCP/IP
|
||||
install-scrcpy:
|
||||
if grep -qvz "fedora" <<< $(distrobox list); then \
|
||||
distrobox create --nvidia --image ghcr.io/ublue-os/fedora-distrobox:latest -n fedora -Y; \
|
||||
fi && \
|
||||
distrobox enter -n fedora -- bash -c 'sudo dnf copr enable -y zeno/scrcpy && \
|
||||
sudo dnf install -y scrcpy && \
|
||||
distrobox-export --app scrcpy'
|
||||
|
@ -62,6 +62,11 @@ screens:
|
||||
default: false
|
||||
packages:
|
||||
- Install Resilio Sync: just --unstable install-resilio-sync
|
||||
scrcpy:
|
||||
description: scrcpy provides display and control of Android devices connected on USB (or over TCP/IP)
|
||||
default: false
|
||||
packages:
|
||||
- Install Resilio Sync: just --unstable install-scrcpy
|
||||
amd-additions:
|
||||
source: yafti.screen.package
|
||||
values:
|
||||
|
@ -134,3 +134,12 @@ install-resilio-sync:
|
||||
rm -f ~/.config/systemd/user/fedora-resilio-sync.service && \
|
||||
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/resilio_sync/fedora-resilio-sync.service -O ~/.config/systemd/user/fedora-resilio-sync.service && \
|
||||
systemctl enable --user --now fedora-resilio-sync.service
|
||||
|
||||
# Install scrcpy, a utility that mirrors Android devices (video and audio) connected via USB or over TCP/IP
|
||||
install-scrcpy:
|
||||
if grep -qvz "fedora" <<< $(distrobox list); then \
|
||||
distrobox create --nvidia --image ghcr.io/ublue-os/fedora-distrobox:latest -n fedora -Y; \
|
||||
fi && \
|
||||
distrobox enter -n fedora -- bash -c 'sudo dnf copr enable -y zeno/scrcpy && \
|
||||
sudo dnf install -y scrcpy && \
|
||||
distrobox-export --app scrcpy'
|
||||
|
Loading…
x
Reference in New Issue
Block a user