Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2025-04-16 07:29:49 +00:00
committed by Gitee
parent 90ad08a6f9
commit 45c52d7755
3 changed files with 5 additions and 5 deletions

View File

@@ -146,7 +146,7 @@ for PKG_UPGRADE in $PKG_UPGRADE_LIST; do
update_transhell
# 启动升级任务
(yes | pkexec ${HERE}/ss-do-upgrade-worker.sh upgrade-app $PKG_UPGRADE -y 2>&1 > /dev/null ) &
(yes n | pkexec ${HERE}/ss-do-upgrade-worker.sh upgrade-app $PKG_UPGRADE -yfq 2>&1 > /dev/null ) &
# 计算进度百分比
progress=$(( count * 100 / total - 1))