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