Skip to content

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

:art: Windows 7, 8 and Server 2012 are no longer supported https://github.com/siyuan-note/siyuan/issues/7347

Daniel7364e7839cc9
diff --git a/kernel/model/updater.go b/kernel/model/updater.go
index beea0b9de7..25f56bd264 100644
--- a/kernel/model/updater.go
+++ b/kernel/model/updater.go
@@ -291,6 +291,13 @@ func skipNewVerInstallPkg() bool {
if !Conf.System.DownloadInstallPkg {
return true
}
+ if gulu.OS.IsWindows() {
+ plat := strings.ToLower(Conf.System.OSPlatform)
+ // Windows 7, 8 and Server 2012 are no longer supported https://github.com/siyuan-note/siyuan/issues/7347
+ if strings.Contains(plat, " 7 ") || strings.Contains(plat, " 8 ") || strings.Contains(plat, "2012") {
+ return true
+ }
+ }
return false
}