From 19e6a93ce8b9e6aa0ebc17129d644318d26a427c Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sun, 28 Jan 2024 14:50:28 -0800 Subject: [PATCH] fix: Enable dri permission for XIV Launcher by default --- .../desktop/shared/usr/bin/bazzite-flatpak-manager | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/system_files/desktop/shared/usr/bin/bazzite-flatpak-manager b/system_files/desktop/shared/usr/bin/bazzite-flatpak-manager index 8659a55d..fc9bfb77 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-flatpak-manager +++ b/system_files/desktop/shared/usr/bin/bazzite-flatpak-manager @@ -1,7 +1,7 @@ #!/usr/bin/bash # SCRIPT VERSION -VER=17 +VER=18 VER_FILE="/etc/bazzite/flatpak_manager_version" VER_RAN=$(cat $VER_FILE) IMAGE_INFO="/usr/share/ublue-os/image-info.json" @@ -65,6 +65,11 @@ flatpak override \ --filesystem=xdg-config/Mangohud:ro \ --filesystem=xdg-config/vkBasalt:ro +# Fix permissions for XIV Launcher +flatpak override \ + --device=dri \ + dev.goats.xivlauncher + # Params needed for HW accelerated video on Nvidia (Ignoring hybrid systems) if [[ $IMAGE_FLAVOR =~ "nvidia" ]] && [ $(grep -o "\-display" <<< $(lshw -C display) | wc -l) -le 1 ] && grep -q "vendor: NVIDIA Corporation" <<< $(lshw -C display); then flatpak override \