An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 记录操作系统平台
Liang Ding2a4fc32e5044
diff --git a/kernel/util/os.go b/kernel/util/os.goindex cacdfff481..b133b9b7ce 100644--- a/kernel/util/os.go+++ b/kernel/util/os.go@@ -27,7 +27,7 @@ func GetOSPlatform() (ret string) {ret, _, _, err := host.PlatformInformation()if nil != err {logging.LogWarnf("get os platform failed: %s", err)- return+ return "Unknown"}return}diff --git a/kernel/util/os_mobile.go b/kernel/util/os_mobile.goindex 73bff4e413..0fd367d4d8 100644--- a/kernel/util/os_mobile.go+++ b/kernel/util/os_mobile.go@@ -25,5 +25,5 @@ func GetOSPlatform() (ret string) {if ContainerAndroid == Container {return "Android"}- return+ return "Unknown"}diff --git a/kernel/util/runtime.go b/kernel/util/runtime.goindex 1fbadcd124..0bcae5562a 100644--- a/kernel/util/runtime.go+++ b/kernel/util/runtime.go@@ -49,7 +49,7 @@ func logBootInfo() {logging.LogInfof("kernel is booting:\n"+" * ver [%s]\n"+" * arch [%s]\n"+- " * os [%s] "++ " * os [%s]\n"+" * pid [%d]\n"+" * runtime mode [%s]\n"+" * working directory [%s]\n"+