From e1d25e401f916c80523159a27ccbb0b52f272663 Mon Sep 17 00:00:00 2001 From: shenmo Date: Sat, 22 Oct 2022 08:19:33 +0000 Subject: [PATCH 1/2] update debian/spark-store.preinst. Signed-off-by: shenmo --- debian/spark-store.preinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/spark-store.preinst b/debian/spark-store.preinst index 5a31c3b..e6ac3bd 100755 --- a/debian/spark-store.preinst +++ b/debian/spark-store.preinst @@ -3,7 +3,7 @@ function network-check() { #超时时间 - local timeout=5 + local timeout=15 #目标网站 local target=www.baidu.com From c7ee32a452101ab816b4c965ecd1cb88d286bd0d Mon Sep 17 00:00:00 2001 From: shenmo Date: Sun, 23 Oct 2022 10:10:55 +0800 Subject: [PATCH 2/2] =?UTF-8?q?pkexec=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tool/update-upgrade/ss-do-upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/update-upgrade/ss-do-upgrade.sh b/tool/update-upgrade/ss-do-upgrade.sh index 36d6120..d7f4213 100755 --- a/tool/update-upgrade/ss-do-upgrade.sh +++ b/tool/update-upgrade/ss-do-upgrade.sh @@ -22,7 +22,7 @@ done | zenity --list --text="选择你想更新的应用" --column=是否更新 if [ "$PKG_UPGRADE_LIST" = "" ];then zenity --info --icon-name=spark-store --text "没有选中任何软件\n但是你并没有站在世界之巅" --title "星火商店更新检测服务" --height 150 --width 300 else -sudo aptss install $PKG_UPGRADE_LIST -y | zenity --progress --auto-close --no-cancel --pulsate --text=正在更新已选中的应用,请稍候... --height 70 --width 400 --title="星火商店更新模块" +pkexec bash aptss install $PKG_UPGRADE_LIST -y | zenity --progress --auto-close --no-cancel --pulsate --text=正在更新已选中的应用,请稍候... --height 70 --width 400 --title="星火商店更新模块" if [ "$?" = "0" ];then