From 114b5cdfe542d08b0dff2a70eb69f19fef1dc9cb Mon Sep 17 00:00:00 2001 From: shenmo Date: Sun, 7 Aug 2022 02:50:40 +0000 Subject: [PATCH] =?UTF-8?q?!68=20=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E5=92=8C=E6=A3=80=E6=B5=8B=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E7=BD=91=E7=BB=9C=E6=97=B6=E9=97=B4=E8=B6=85?= =?UTF-8?q?=E6=97=B6=E6=97=B6=E9=97=B4=E5=BB=B6=E9=95=BF=E8=87=B35s=20*=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC=E5=92=8C=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC=E6=A3=80=E6=9F=A5=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E6=97=B6=E9=97=B4=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=BB=B6=E9=95=BF=E8=87=B35s=20*=20ss-update-notify-placer.sh.?= =?UTF-8?q?=20=E6=9B=B4=E6=96=B0=E6=9C=8D=E5=8A=A1=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=BD=91=E7=BB=9C=E7=9A=84=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=B05s=20*=20update=20debian/changelog.?= =?UTF-8?q?=20*=20update=20debian/changelog.=20*=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E6=9B=B4=E6=96=B0=203141?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 7 +++++++ debian/spark-store.preinst | 2 +- src/main.cpp | 4 ++-- tool/update-upgrade/ss-update-notify-placer.sh | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index fc88eff..7351f6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +spark-store (3.1.4-1) stable; urgency=medium + + * 安装脚本和检测更新脚本检查网络时间超时时间延长至5s + + +-- shenmo Fri, 30 Jan 2022 00:00:00 +0800 + spark-store (3.1.4) stable; urgency=medium * 发布正式版,同步到官网 diff --git a/debian/spark-store.preinst b/debian/spark-store.preinst index 43bef3d..5a31c3b 100755 --- a/debian/spark-store.preinst +++ b/debian/spark-store.preinst @@ -3,7 +3,7 @@ function network-check() { #超时时间 - local timeout=1 + local timeout=5 #目标网站 local target=www.baidu.com diff --git a/src/main.cpp b/src/main.cpp index 12a6f4c..f160c21 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) DAboutDialog dialog; a.setAboutDialog(&dialog); dialog.setLicense(QObject::tr("We publish this program under GPL V3")); - dialog.setVersion(DApplication::buildVersion("Version 3.1.4")); + dialog.setVersion(DApplication::buildVersion("Version 3.1.4-1")); dialog.setProductIcon(QIcon::fromTheme("spark-store")); // 设置Logo dialog.setProductName(QLabel::tr("Spark Store")); dialog.setDescription( @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) a.setOrganizationName("spark-union"); a.setOrganizationDomain("https://www.deepinos.org/"); a.setApplicationName("Spark Store"); //不需要翻译,否则 ~/.local/share/ 下文件夹名称也被翻译为中文 - a.setApplicationVersion(DApplication::buildVersion("3.1.4")); + a.setApplicationVersion(DApplication::buildVersion("3.1.4-1")); a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/spark-store"); a.setApplicationDescription( QObject::tr( diff --git a/tool/update-upgrade/ss-update-notify-placer.sh b/tool/update-upgrade/ss-update-notify-placer.sh index ba0977a..4cd29f4 100755 --- a/tool/update-upgrade/ss-update-notify-placer.sh +++ b/tool/update-upgrade/ss-update-notify-placer.sh @@ -9,7 +9,7 @@ LANG=en.US function network() { #超时时间 - local timeout=1 + local timeout=5 #目标网站 local target=www.baidu.com