Skip to content

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

:art: Support Windows arm64 https://github.com/siyuan-note/siyuan/issues/11565

Daniel415937f02887
diff --git a/kernel/model/updater.go b/kernel/model/updater.go
index 8fda709b8a..dd1c3af483 100644
--- a/kernel/model/updater.go
+++ b/kernel/model/updater.go
@@ -121,7 +121,11 @@ func getUpdatePkg() (downloadPkgURLs []string, checksum string, err error) {
var suffix string
if gulu.OS.IsWindows() {
- suffix = "win.exe"
+ if "arm64" == runtime.GOARCH {
+ suffix = "win-arm64.exe"
+ } else {
+ suffix = "win.exe"
+ }
} else if gulu.OS.IsDarwin() {
if "arm64" == runtime.GOARCH {
suffix = "mac-arm64.dmg"