fix(deck): Add environment variable needed for Decky Loader with SELinux.

This commit is contained in:
Kyle Gospodnetich 2023-07-28 18:20:51 -07:00
parent b3c4e1e094
commit 1fa303b8ec
3 changed files with 9 additions and 1 deletions

View File

@ -1 +1,6 @@
# Required for use of OBS-VkCapture in X11 environments
# Nvidia users must additionally have nvidia-drm.modeset=1 in their kargs
OBS_USE_EGL=1
# Required for Decky Loader on systems with SELinux
DECKY_SELINUX=1

View File

@ -18,7 +18,7 @@ get-decky:
#!/usr/bin/env bash
export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6)
curl -L https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/install_release.sh | sh
sudo chcon -R -t bin_t $HOME/homebrew/services/PluginLoader
sudo chcon -t bin_t $HOME/homebrew/services/PluginLoader
get-emudeck:
echo 'Retrieving EmuDeck...'

View File

@ -0,0 +1,3 @@
# Required for use of OBS-VkCapture in X11 environments
# Nvidia users must additionally have nvidia-drm.modeset=1 in their kargs
OBS_USE_EGL=1