Skip to content

Commit

Permalink
fix: Enable dri permission for XIV Launcher by default
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 28, 2024
1 parent bd4d24a commit 19e6a93
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion system_files/desktop/shared/usr/bin/bazzite-flatpak-manager
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 19e6a93

Please sign in to comment.