Fixes for flatpak

This commit is contained in:
Htylol 2024-09-30 20:33:06 +05:00
parent 4636c75dbd
commit 03747a78c0
2 changed files with 1 additions and 1 deletions

@ -1007,6 +1007,7 @@ init_wine_ver () {
} }
pw_init_runtime () { pw_init_runtime () {
check_flatpak && export PW_USE_RUNTIME="0"
if [[ "$PW_USE_RUNTIME" != "1" ]] \ if [[ "$PW_USE_RUNTIME" != "1" ]] \
|| [[ "$PW_WINE_USE" == "USE_SYSTEM_WINE" ]] || [[ "$PW_WINE_USE" == "USE_SYSTEM_WINE" ]]
then then

@ -284,7 +284,6 @@ fi
if check_flatpak ; then if check_flatpak ; then
try_remove_dir "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}" try_remove_dir "${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
export PW_USE_RUNTIME="0"
else pw_download_libs else pw_download_libs
fi fi