Scripts version 2270

This commit is contained in:
Mikhail Tergoev
2024-03-31 13:08:33 +03:00
parent 337070718e
commit 175a15393f
6 changed files with 36 additions and 19 deletions

View File

@ -427,6 +427,8 @@ check_user_conf () {
init_wine_ver () {
if [[ "${PW_WINE_VER}" == "USE_SYSTEM_WINE" ]]
then export PW_WINE_USE="USE_SYSTEM_WINE"
elif [[ "${PW_WINE_VER}" == "GET-OTHER-WINE" ]]
then gui_proton_downloader
elif [[ ! -z "${PW_WINE_VER}" ]]
then export PW_WINE_USE="$PW_WINE_VER"
fi
@ -541,7 +543,7 @@ init_wine_ver () {
fi
if [[ "${PW_USE_GSTREAMER}" == 1 ]] ; then
if [[ "${PW_USE_GSTREAMER}" == 1 ]] ; then
if [[ -d "${WINEDIR}/lib64/gstreamer-1.0" ]] ; then
export GST_PLUGIN_SYSTEM_PATH_1_0="${WINEDIR}/lib64/gstreamer-1.0:${WINEDIR}/lib/gstreamer-1.0"
fi