mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: rename LAUNCHER_DISABLE_GLVULKAN to PRISMLAUNCHER_DISABLE_GLVULKAN
for consistency with other env vars this also introduces LAUNCHER_ENVNAME in BuildConfig/program_info for rebranded configurations Signed-off-by: DioEgizio <dioegizio@protonmail.com>
This commit is contained in:
parent
9f5f1bcf10
commit
bf42cfdcf2
7 changed files with 12 additions and 5 deletions
|
|
@ -15,6 +15,7 @@ fi
|
|||
|
||||
|
||||
LAUNCHER_NAME=@Launcher_APP_BINARY_NAME@
|
||||
LAUNCHER_ENVNAME=@Launcher_ENVName@
|
||||
LAUNCHER_DIR="$(dirname "$(readlink -f "$0")")"
|
||||
echo "Launcher Dir: ${LAUNCHER_DIR}"
|
||||
|
||||
|
|
@ -23,7 +24,7 @@ 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
|
||||
export ${LAUNCHER_ENVNAME}_DISABLE_GLVULKAN=1
|
||||
fi
|
||||
|
||||
# Just to be sure...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue