mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-14 10:21:09 +00:00
feat: Install OpenGamepadUI on non-NVIDIA images
Excluded from NVIDIA images duo to graphical artifacts.
This commit is contained in:
parent
5f5f74d924
commit
923eeebcf4
@ -204,7 +204,12 @@ RUN if grep -qv "nvidia" <<< "${IMAGE_NAME}"; then \
|
||||
rocm-opencl \
|
||||
rocm-clinfo \
|
||||
waydroid \
|
||||
weston && \
|
||||
weston \
|
||||
firejail && \
|
||||
wget $(curl -s https://api.github.com/repos/ShadowBlip/OpenGamepadUI/releases/latest | \
|
||||
jq -r ".assets[] | select(.name | test(\"opengamepadui.tar.gz\")) | .browser_download_url") -P /tmp && \
|
||||
tar xvfz /tmp/opengamepadui.tar.gz -C /tmp && \
|
||||
make -C /tmp/opengamepadui install PREFIX=/usr && \
|
||||
sed -i~ -E 's/=.\$\(command -v (nft|ip6?tables-legacy).*/=/g' /usr/lib/waydroid/data/scripts/waydroid-net.sh && \
|
||||
rm -f /usr/etc/modprobe.d/nvidia.conf \
|
||||
; else \
|
||||
|
Loading…
x
Reference in New Issue
Block a user