From bf900b12d7acd3abb92530e078650494149ba81f Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Fri, 14 Jun 2024 16:38:40 +0300 Subject: [PATCH] fix ENV in flatpak --- data_from_portwine/scripts/functions_helper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index fb28066..f862c4c 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -587,7 +587,7 @@ pw_init_runtime () { else PW_TERM="env LD_LIBRARY_PATH=\"${PW_LD_LIBRARY_PATH}\" ${PW_PLUGINS_PATH}/portable/bin/xterm -bg black -fg white -e" fi export PW_TERM - export pw_runtime="" + export pw_runtime="env" return 0 fi @@ -1648,7 +1648,7 @@ start_portwine () { done print_info "Used wineboot $@ for prefix: ${PW_PREFIX_NAME}" - ${pw_runtime} env GST_PLUGIN_SYSTEM_PATH_1_0="" LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}:${WINE_LIBRARY_PATH}" \ + ${pw_runtime} GST_PLUGIN_SYSTEM_PATH_1_0="" LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}:${WINE_LIBRARY_PATH}" \ WINEDEBUG="fixme-all,err+loaddll,err+dll,err+file,err+reg" \ "${WINELOADER}" wineboot $@ &>>"${PORT_WINE_TMP_PATH}/update_pfx_log" wait_wineserver