From db6b915aba6ba029d5ad34a1d65c924cf08eaeda Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Tue, 8 Apr 2025 14:15:12 +0300 Subject: [PATCH] fixed news wine from kron4ek --- data_from_portwine/scripts/functions_helper | 4 +++- data_from_portwine/scripts/portwine_db/KingdomCome.ppdb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 9a48b342..45ed37b1 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -4322,7 +4322,9 @@ pw_run () { if file "$portwine_exe" | grep -q "x86-64" ; then print_info "file: $portwine_exe is x86-64, force set WINE_LARGE_ADDRESS_AWARE to 0" export WINE_LARGE_ADDRESS_AWARE="0" - export WINELOADER="${WINELOADER}64" + if [[ -f "${WINELOADER}64" ]] + then export WINELOADER="${WINELOADER}64" + fi else print_info "file: $portwine_exe not x86-64, force set WINE_LARGE_ADDRESS_AWARE to 1" export WINE_LARGE_ADDRESS_AWARE="1" diff --git a/data_from_portwine/scripts/portwine_db/KingdomCome.ppdb b/data_from_portwine/scripts/portwine_db/KingdomCome.ppdb index 941a7f01..1cf9da9f 100644 --- a/data_from_portwine/scripts/portwine_db/KingdomCome.ppdb +++ b/data_from_portwine/scripts/portwine_db/KingdomCome.ppdb @@ -4,4 +4,4 @@ #Rating=1-5 export PW_VULKAN_USE="2" export PW_WINE_USE="WINE_LG" -export LAUNCH_URI="com.epicgames.launcher://apps/Eel?action=launch&silent=true" +# export LAUNCH_URI="com.epicgames.launcher://apps/Eel?action=launch&silent=true"