PW_CLI=0 if empty

This commit is contained in:
Mikhail Tergoev
2025-10-30 13:26:50 +03:00
parent 447a77097d
commit 42acccddcb
2 changed files with 3 additions and 2 deletions

View File

@@ -5834,11 +5834,11 @@ Binding a game to a single node reduces memoryaccess latency and limits costl
fi
export PW_WINE_CPU_TOPOLOGY
if [[ "${PW_CLI}" != "1" ]] ; then
if [[ "${PW_CLI}" != "1" ]] ; then
for dont_touch_var in $DISABLE_EDIT_DB_LIST ; do
rm_from_array "PW_EDIT_DB_LIST" "$dont_touch_var"
done
fi
fi
PW_EDIT_DB_FINAL_LIST=("${PW_EDIT_DB_LIST[@]}" \
LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL \
WINEDLLOVERRIDES PW_WINE_CPU_TOPOLOGY PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL \

View File

@@ -57,6 +57,7 @@ if [[ ${1,,} == "cli" ]] ; then
export PROCESS_LOG="1"
shift
fi
check_variables PW_CLI "0"
if [[ "${1,,}" =~ .ppack$ ]] ; then
export PW_NO_RESTART_PPDB="1"