Temporarily disabled video card selection when using gamescope and also cleaned and fixed the code and localization

This commit is contained in:
Boria138
2023-12-08 16:16:06 +06:00
parent 4f23160081
commit 600f959af0
4 changed files with 49 additions and 52 deletions

View File

@ -166,6 +166,8 @@ pw_gui_for_edit_db () {
if [[ ! -z "${PW_GPU_USE}" ]] && [[ "${PW_GPU_USE}" != "disabled" ]] ; then
GPU_VAR="${PW_GPU_USE}"
elif [[ ! -z "${PW_USE_GAMESCOPE}" ]] ; then
GPU_VAR="disabled"
else
GPU_VAR="disabled"
fi