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

@ -847,13 +847,6 @@ check_nvidia_rtx () {
return 1
}
check_hybrid_graphicks () {
if [[ ! -z "$(echo "$LSPCI_VGA" | grep -i nvidia | grep -i -E '(intel|amd)')" ]]
then return 0
else return 1
fi
}
pw_init_db () {
if [[ -f "${portwine_exe}" ]] ; then
export PORTWINE_DB="$(basename "${portwine_exe}" .exe)"
@ -921,7 +914,6 @@ pw_init_db () {
check_variables PW_USE_FAKE_DLSS "0"
check_variables PW_USE_RAY_TRACING "1"
fi
check_hybrid_graphicks && check_variables PW_PRIME_RENDER_OFFLOAD "1"
fi
[[ "${START_FROM_STEAM}" == 1 ]] && export PW_GUI_DISABLED_CS=1