From fd3cfffcb51494cc2036d6a302afe1b643f515b3 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Fri, 24 Jan 2025 01:38:57 +0500 Subject: [PATCH] support PW_DLL_INSTALL on steamplay_launch --- data_from_portwine/scripts/functions_helper | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index d620cfe..38a6569 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -4384,6 +4384,11 @@ steamplay_launch () { ln -sr "${PORT_WINE_PREFIX}/drive_c/${path}" "${WINEPREFIX}/drive_c/${path}" fi done + if [[ -n "${PW_DLL_INSTALL:-}" ]] ; then + update_winetricks + PATH="${PATH}:${PW_PLUGINS_PATH}/portable/bin" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${PW_PLUGINS_PATH}/portable/lib/lib64:${PW_PLUGINS_PATH}/portable/lib/lib32" \ + "${PORT_WINE_TMP_PATH}/winetricks" -q ${PW_DLL_INSTALL} + fi [[ $PW_LOG != 1 ]] && debug_timer --start -s "PW_TIME_IN_GAME" "${STEAM_COMPAT_TOOL_PATHS%%:*}/proton" "run" "${portwine_exe}" "$@" if [[ $PW_LOG != 1 ]] && [[ -n $START_PW_TIME_IN_GAME ]] ; then