Scripts version 2136

This commit is contained in:
castro-fidel
2022-10-12 20:11:24 +03:00
parent c826f58567
commit cbf9648193
8 changed files with 59 additions and 9 deletions

View File

@ -649,19 +649,15 @@ fi
. "${PORT_SCRIPTS_PATH}"/lang
. "${PORT_SCRIPTS_PATH}"/zen_yad_gui
export urlg="https://https://linux-gaming.ru/portproton/"
export urlg="https://linux-gaming.ru/portproton/"
export PW_WINELIB="${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
try_remove_dir "${PW_WINELIB}/var"
export PW_GUI_ICON_PATH="${PORT_WINE_PATH}/data/img/gui"
export install_ver=`cat "${PORT_WINE_TMP_PATH}/${portname}_ver" | head -n 1`
if [[ "${install_ver}" == 97 ]] ; then
export install_ver="1.0"
echo "1.0" > "${PORT_WINE_TMP_PATH}/${portname}_ver"
fi
export WINETRICKS_DOWNLOADER="curl"
export USER_CONF="${PORT_WINE_PATH}/data/user.conf"
check_user_conf
sed -i 's/ PP_/ PW_/g' "${USER_CONF}"
# sed -i 's/ PP_/ PW_/g' "${USER_CONF}"
if [[ ! -d "${HOME}/PortWINE" ]] && [[ -d "${HOME}/.local/share/PortWINE/PortProton/" ]] ; then
ln -s "${HOME}/.local/share/PortWINE/" "${HOME}"
fi