From 42acccddcbd5bbb8bd3805775b988e7c86c5aab6 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Thu, 30 Oct 2025 13:26:50 +0300 Subject: [PATCH] PW_CLI=0 if empty --- data_from_portwine/scripts/functions_helper | 4 ++-- data_from_portwine/scripts/start.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 186d12c5..3b328258 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -5834,11 +5834,11 @@ Binding a game to a single node reduces memory‑access 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 \ diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 46f0a986..b0f736dd 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -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"