Scripts version 2237
This commit is contained in:
@ -153,7 +153,7 @@ pw_gui_for_edit_db () {
|
||||
else
|
||||
FPS_LIMIT_VAR="disabled"
|
||||
fi
|
||||
if [[ ! -z "${PW_WINE_CPU_TOPOLOGY}" ]] && [[ "${PW_WINE_CPU_TOPOLOGY}" != "disabled" ]] ; then
|
||||
if [[ "${PW_WINE_CPU_TOPOLOGY}" == *[0-9]:* ]] && [[ "${PW_WINE_CPU_TOPOLOGY}" != "disabled" ]] ; then
|
||||
CPU_LIMIT_VAR="`echo ${PW_WINE_CPU_TOPOLOGY%%:*}`"
|
||||
else
|
||||
CPU_LIMIT_VAR="disabled"
|
||||
@ -166,8 +166,6 @@ 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
|
||||
|
Reference in New Issue
Block a user