From 7b09346e1159570ab70f0999e520bc2e426ff4b7 Mon Sep 17 00:00:00 2001 From: Htylol Date: Sat, 14 Sep 2024 15:52:40 +0500 Subject: [PATCH] Scripts version 2346 --- data_from_portwine/changelog_en | 3 +++ data_from_portwine/changelog_ru | 3 +++ data_from_portwine/scripts/functions_helper | 4 ++-- data_from_portwine/scripts/var | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/data_from_portwine/changelog_en b/data_from_portwine/changelog_en index 844931b2..81335067 100755 --- a/data_from_portwine/changelog_en +++ b/data_from_portwine/changelog_en @@ -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 diff --git a/data_from_portwine/changelog_ru b/data_from_portwine/changelog_ru index 3912c4fc..76febeb5 100755 --- a/data_from_portwine/changelog_ru +++ b/data_from_portwine/changelog_ru @@ -2,6 +2,9 @@ ----------------------------------------- История изменений: +###Scripts version 2346### / Дата: 14.09.2024 / Размер скачиваемого обновления: 4 мегабайт +* Исправлена ошибка длительного ожидания обновлений + ###Scripts version 2345### / Дата: 14.09.2024 / Размер скачиваемого обновления: 4 мегабайт * исправлено автоматическое закрытие трея после использования АВТОУСТАНОВОК * ускорен запуск при отсутствии возможности проверки обновлений diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index bfda8147..5052986d 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -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" diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var index 3dbf9159..a168b90f 100755 --- a/data_from_portwine/scripts/var +++ b/data_from_portwine/scripts/var @@ -1,6 +1,6 @@ #!/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"