mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: allow disabling gl and vulkan features with an envvar and disable it by default on appimage/portable
the previous approach didn't work with runtime symbol lookup errors Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
This commit is contained in:
parent
348907f7d1
commit
e524fa5b6b
4 changed files with 19 additions and 0 deletions
|
|
@ -21,6 +21,11 @@ echo "Launcher Dir: ${LAUNCHER_DIR}"
|
|||
# Makes the launcher use portals for file picking
|
||||
export QT_QPA_PLATFORMTHEME=xdgdesktopportal
|
||||
|
||||
# disable OpenGL and Vulkan launcher features on sharun until https://github.com/VHSgunzo/sharun/issues/35
|
||||
if [[ -f "${LAUNCHER_DIR}/sharun" ]]; then
|
||||
export LAUNCHER_DISABLE_GLVULKAN=1
|
||||
fi
|
||||
|
||||
# Just to be sure...
|
||||
chmod +x "${LAUNCHER_DIR}/bin/${LAUNCHER_NAME}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue