Commit 8d9e8b8c authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts 2060

parent 842d43a3
...@@ -10,9 +10,11 @@ ...@@ -10,9 +10,11 @@
* добавить проверку количества db файлов на один exe * добавить проверку количества db файлов на один exe
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru * заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
----------------------------------------- -----------------------------------------
###Scripts version 2060###
* подготовлена возможность установки PortProton из репозиториев
###Scripts version 2059### ###Scripts version 2059###
* обновлена автоустановка GOG * обновлена автоустановка GOG
*
###Scripts version 2058### ###Scripts version 2058###
* по умочанию выбран PW_WINE_USE=PROTON_STEAM для EGS * по умочанию выбран PW_WINE_USE=PROTON_STEAM для EGS
......
...@@ -33,7 +33,8 @@ chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop" ...@@ -33,7 +33,8 @@ chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
if [ "${PW_SILENT_INSTALL}" = "1" ] ; then if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
if [ "${PW_AUTOPLAY}" = "1" ] ; then if [ "${PW_AUTOPLAY}" = "1" ] ; then
unset INSTALLING_PORT unset INSTALLING_PORT
sh "$HOME/PortWINE/PortProton/data/scripts/start.sh" $@ & exit 0 ln -s "${XDG_DATA_HOME}/PortWINE" "${HOME}/"
sh "${XDG_DATA_HOME}/PortWINE/PortProton/data/scripts/start.sh" $@ & exit 0
else else
echo "Installation completed successfully." echo "Installation completed successfully."
fi fi
......
#!/bin/bash #!/bin/bash
#Author: Castro-Fidel (PortWINE-Linux.ru) #Author: Castro-Fidel (PortWINE-Linux.ru)
#SCRIPTS_NEXT_VERSION=2059 #SCRIPTS_NEXT_VERSION=2060
#PORT_NEXT_VERSION=97 #PORT_NEXT_VERSION=97
######################################################################## ########################################################################
export PW_MANGOHUD=1 export PW_MANGOHUD=1
......
...@@ -11,10 +11,15 @@ clear && echo ' ...@@ -11,10 +11,15 @@ clear && echo '
' '
######################################################################## ########################################################################
unset PW_AUTOPLAY PW_SET_LANG PW_SILENT_INSTALL unset PW_AUTOPLAY PW_SET_LANG PW_SILENT_INSTALL
export portname="PortProton"
export port_ver=97
########################################################################
deflink="${HOME}/PortWINE/${portname}"
[ $(id -u) -eq 0 ] && echo "Do not run the script from the superuser!" && zenity --error --text "Do not run the script from the superuser!" 2> /dev/null && exit 1 [ $(id -u) -eq 0 ] && echo "Do not run the script from the superuser!" && zenity --error --text "Do not run the script from the superuser!" 2> /dev/null && exit 1
if [ "$(dirname "`readlink -f "$0"`")" == "/usr/bin" ] ; then if [ "$(dirname "`readlink -f "$0"`")" == "/usr/bin" ] ; then
if [ -f "$HOME/PortWINE/PortProton/data/scripts/start.sh" ] ; then [ -z "${XDG_DATA_HOME}" ] && export XDG_DATA_HOME="$HOME/.local/share"
sh "$HOME/PortWINE/PortProton/data/scripts/start.sh" $@ & exit 0 if [ -f "${XDG_DATA_HOME}/PortWINE/PortProton/data/scripts/start.sh" ] ; then
sh "${XDG_DATA_HOME}/PortWINE/PortProton/data/scripts/start.sh" $@ & exit 0
else else
if [ ! -z "`locale | grep "LANG=ru_RU.UTF-8"`" ] ; then if [ ! -z "`locale | grep "LANG=ru_RU.UTF-8"`" ] ; then
PW_SET_LANG="Russian" PW_SET_LANG="Russian"
...@@ -23,12 +28,10 @@ if [ "$(dirname "`readlink -f "$0"`")" == "/usr/bin" ] ; then ...@@ -23,12 +28,10 @@ if [ "$(dirname "`readlink -f "$0"`")" == "/usr/bin" ] ; then
fi fi
export PW_SILENT_INSTALL="1" export PW_SILENT_INSTALL="1"
export PW_AUTOPLAY=1 export PW_AUTOPLAY=1
deflink="${XDG_DATA_HOME}/PortWINE/${portname}"
fi fi
fi fi
######################################################################## ########################################################################
export portname="PortProton"
export port_ver=97
########################################################################
export INSTALLING_PORT=1 export INSTALLING_PORT=1
export PROGS_INST="" export PROGS_INST=""
export vexit=0 export vexit=0
...@@ -45,7 +48,6 @@ fi ...@@ -45,7 +48,6 @@ fi
######################################################################## ########################################################################
cd "$(dirname "`readlink -f "$0"`")" cd "$(dirname "`readlink -f "$0"`")"
links="$(pwd)" links="$(pwd)"
deflink="${HOME}/PortWINE/${portname}"
######################################################################## ########################################################################
if [ "$1" = "-rus" ] ; then if [ "$1" = "-rus" ] ; then
PW_SET_LANG="Russian" PW_SET_LANG="Russian"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment