PW_CLI=0 if empty
This commit is contained in:
@@ -5834,11 +5834,11 @@ Binding a game to a single node reduces memory‑access latency and limits costl
|
|||||||
fi
|
fi
|
||||||
export PW_WINE_CPU_TOPOLOGY
|
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
|
for dont_touch_var in $DISABLE_EDIT_DB_LIST ; do
|
||||||
rm_from_array "PW_EDIT_DB_LIST" "$dont_touch_var"
|
rm_from_array "PW_EDIT_DB_LIST" "$dont_touch_var"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
PW_EDIT_DB_FINAL_LIST=("${PW_EDIT_DB_LIST[@]}" \
|
PW_EDIT_DB_FINAL_LIST=("${PW_EDIT_DB_LIST[@]}" \
|
||||||
LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL \
|
LAUNCH_PARAMETERS PW_WINDOWS_VER PW_DLL_INSTALL \
|
||||||
WINEDLLOVERRIDES PW_WINE_CPU_TOPOLOGY PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL \
|
WINEDLLOVERRIDES PW_WINE_CPU_TOPOLOGY PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ if [[ ${1,,} == "cli" ]] ; then
|
|||||||
export PROCESS_LOG="1"
|
export PROCESS_LOG="1"
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
check_variables PW_CLI "0"
|
||||||
|
|
||||||
if [[ "${1,,}" =~ .ppack$ ]] ; then
|
if [[ "${1,,}" =~ .ppack$ ]] ; then
|
||||||
export PW_NO_RESTART_PPDB="1"
|
export PW_NO_RESTART_PPDB="1"
|
||||||
|
|||||||
Reference in New Issue
Block a user