Skip to content

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

:art: Windows/macOS add a option Settings - About - Access authorization code - Follow system lock screen https://github.com/siyuan-note/siyuan/issues/9087

Daniel9bc0064dac68
diff --git a/kernel/conf/system.go b/kernel/conf/system.go
index 11e9e9e185..00d665e1c3 100644
--- a/kernel/conf/system.go
+++ b/kernel/conf/system.go
@@ -43,6 +43,7 @@ type System struct {
DisableGoogleAnalytics bool `json:"disableGoogleAnalytics"`
DownloadInstallPkg bool `json:"downloadInstallPkg"`
AutoLaunch bool `json:"autoLaunch"`
+ LockScreenMode int `json:"lockScreenMode"` // 0:手动,1:跟随系统 https://github.com/siyuan-note/siyuan/issues/9087
}
func NewSystem() *System {