Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 桌面端自动下载更新安装包 https://github.com/siyuan-note/siyuan/issues/5837

Liang Ding920ead1e0142
diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml
index c789a18864..0ce5f33e75 100644
--- a/.github/workflows/dockerimage.yml
+++ b/.github/workflows/dockerimage.yml
@@ -33,4 +33,4 @@ jobs:
- name: Build the Docker image
run: |
- docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7 -t b3log/siyuan:latest -t b3log/siyuan:v2.1.13 .
\ No newline at end of file
+ docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7 -t b3log/siyuan:latest -t b3log/siyuan:v2.1.14 .
\ No newline at end of file
diff --git a/app/appx/AppxManifest.xml b/app/appx/AppxManifest.xml
index d8e7b8b447..212d12bf2f 100644
--- a/app/appx/AppxManifest.xml
+++ b/app/appx/AppxManifest.xml
@@ -9,7 +9,7 @@
<Identity Name="89C2A984.SiYuan"
ProcessorArchitecture="x64"
Publisher='CN=087C656E-C1D9-42D8-8807-CED45A74FC0F'
- Version="2.1.13.0"/>
+ Version="2.1.14.0"/>
<Properties>
<DisplayName>SiYuan</DisplayName>
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>
diff --git a/app/package.json b/app/package.json
index 2d57a4aa3e..8fe520f916 100644
--- a/app/package.json
+++ b/app/package.json
@@ -1,6 +1,6 @@
{
"name": "SiYuan",
- "version": "2.1.13",
+ "version": "2.1.14",
"description": "Build Your Eternal Digital Garden",
"homepage": "https://b3log.org/siyuan",
"main": "./electron/main.js",
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index 017b27e59a..51f2a11d1b 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -380,7 +380,7 @@ func Close(force bool, execInstallPkg int) (exitCode int) {
if !skipNewVerInstallPkg() {
newVerInstallPkgPath := ""
if Conf.System.DownloadInstallPkg && !util.ISMicrosoftStore {
- newVerInstallPkgPath = GetNewVerInstallPkgPath()
+ newVerInstallPkgPath = getNewVerInstallPkgPath()
if "" != newVerInstallPkgPath && 0 == execInstallPkg {
exitCode = 2
return
@@ -388,7 +388,7 @@ func Close(force bool, execInstallPkg int) (exitCode int) {
}
if 2 == execInstallPkg && "" != newVerInstallPkgPath { // 执行新版本安装
- execNewVerInstallPkg(newVerInstallPkgPath)
+ go execNewVerInstallPkg(newVerInstallPkgPath)
}
}
diff --git a/kernel/model/liandi.go b/kernel/model/liandi.go
index 6ff628eecf..5c68de63cb 100644
--- a/kernel/model/liandi.go
+++ b/kernel/model/liandi.go
@@ -240,7 +240,7 @@ func AutoRefreshCheck() {
time.Sleep(3 * time.Minute)
checkDownloadInstallPkg()
- if "" != GetNewVerInstallPkgPath() {
+ if "" != getNewVerInstallPkgPath() {
util.PushMsg(Conf.Language(61), 0)
}
}()
diff --git a/kernel/model/updater.go b/kernel/model/updater.go
index fb5270928e..09f19f45ed 100644
--- a/kernel/model/updater.go
+++ b/kernel/model/updater.go
@@ -54,7 +54,7 @@ func execNewVerInstallPkg(newVerInstallPkgPath string) {
logging.LogInfof("installed new version output [%s]", data)
}
-func GetNewVerInstallPkgPath() string {
+func getNewVerInstallPkgPath() string {
if skipNewVerInstallPkg() {
return ""
}
diff --git a/kernel/util/working.go b/kernel/util/working.go
index 8ba2041341..458a7093a8 100644
--- a/kernel/util/working.go
+++ b/kernel/util/working.go
@@ -41,7 +41,7 @@ import (
var Mode = "prod"
const (
- Ver = "2.1.13"
+ Ver = "2.1.14"
IsInsider = false
)