From 5432736ae4b31b1fb17eb5c50cfeeba7529c6e0f Mon Sep 17 00:00:00 2001 From: ExtremeFiretop Date: Thu, 5 Jun 2025 21:50:15 -0400 Subject: [PATCH] Allow Script to Remain In Update Process Addresses Issue https://github.com/AMTM-OSR/FlexQoS/issues/1 --- flexqos.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flexqos.sh b/flexqos.sh index 874dae7..7db75df 100644 --- a/flexqos.sh +++ b/flexqos.sh @@ -12,8 +12,8 @@ # Contributors: @maghuro # shellcheck disable=SC1090,SC1091,SC2039,SC2154,SC3043 # amtm NoMD5check -version=1.4.6 -release=2025-05-18 +version=1.4.7 +release=2025-06-05 # Forked from FreshJR_QOS v8.8, written by FreshJR07 https://github.com/FreshJR07/FreshJR_QOS # License # FlexQoS is free to use under the GNU General Public License, version 3 (GPL-3.0). @@ -1075,6 +1075,10 @@ update() { return 0 fi fi + if ! Firmware_Check; then + PressEnter + exit 5 + fi printf "Installing: %s...\n\n" "${SCRIPTNAME_DISPLAY}" download_file "$(basename "${SCRIPTPATH}")" "${SCRIPTPATH}" exec sh "${SCRIPTPATH}" -install "${1}"