Unverified Commit be3fe961 authored by Mikhail Tergoev's avatar Mikhail Tergoev Committed by GitHub

Merge pull request #332 from Htylol/devel-time

Scripts version 2346
parents b88c7d0e 7b09346e
......@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2346### / Date: 14.09.2024 / Download update size: 4 megabytes
* Fixed bug with long wait for updates
###Scripts version 2345### / Date: 14.09.2024 / Download update size: 4 megabytes
* fixed automatic closing of the tray after using AUTOINSTALL
* faster startup when it is not possible to check for updates
......
......@@ -2,6 +2,9 @@
-----------------------------------------
История изменений:
###Scripts version 2346### / Дата: 14.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* Исправлена ошибка длительного ожидания обновлений
###Scripts version 2345### / Дата: 14.09.2024 / Размер скачиваемого обновления: 4 мегабайт
* исправлено автоматическое закрытие трея после использования АВТОУСТАНОВОК
* ускорен запуск при отсутствии возможности проверки обновлений
......
......@@ -1567,12 +1567,12 @@ pw_port_update () {
fi
scripts_install_ver=$(head -n 1 "${PORT_WINE_TMP_PATH}/scripts_ver")
print_info "Check update..."
if curl -f -s --list-only --connect-timeout 2 --retry 0 "https://gitlab.eterfund.ru/Castro-Fidel/PortWINE/raw/${BRANCH}/data_from_portwine/scripts/var" > "${PORT_WINE_TMP_PATH}/curent_var_ver"
if curl -f -s --list-only --max-time 3 "https://gitlab.eterfund.ru/Castro-Fidel/PortWINE/raw/${BRANCH}/data_from_portwine/scripts/var" > "${PORT_WINE_TMP_PATH}/curent_var_ver"
then
URL_FOR_CHANGELOG="https://gitlab.eterfund.ru/Castro-Fidel/PortWINE/raw/${BRANCH}/data_from_portwine"
URL_TO_PW_BRANCH="https://gitlab.eterfund.ru/Castro-Fidel/PortWINE/-/archive/${BRANCH}/PortWINE-${BRANCH}.tar.gz"
else
if curl -f -s --list-only --connect-timeout 2 --retry 0 "https://raw.githubusercontent.com/Castro-Fidel/PortWINE/${BRANCH}/data_from_portwine/scripts/var" > "${PORT_WINE_TMP_PATH}/curent_var_ver"
if curl -f -s --list-only --max-time 3 "https://raw.githubusercontent.com/Castro-Fidel/PortWINE/${BRANCH}/data_from_portwine/scripts/var" > "${PORT_WINE_TMP_PATH}/curent_var_ver"
then
URL_FOR_CHANGELOG="https://raw.githubusercontent.com/Castro-Fidel/PortWINE/${BRANCH}/data_from_portwine"
URL_TO_PW_BRANCH="https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/${BRANCH}.tar.gz"
......
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2345
#SCRIPTS_NEXT_VERSION=2346
#SCRIPTS_STABLE_VERSION=2342
########################################################################
# export PROTON_USE_XALIA="1"
......
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