Skip to content

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

:art: Support HarmonyOS NEXT system https://github.com/siyuan-note/siyuan/issues/13184

Daniel83d4516fd2ae
diff --git a/kernel/harmony/kernel.go b/kernel/harmony/kernel.go
index 1fb01fba10..fc9828997f 100644
--- a/kernel/harmony/kernel.go
+++ b/kernel/harmony/kernel.go
@@ -126,8 +126,8 @@ func SetTimezone(container, appDir, timezoneID string) {
}
//export DisableFeature
-func DisableFeature(feature string) {
- util.DisableFeature(feature)
+func DisableFeature(feature *C.char) {
+ util.DisableFeature(C.GoString(feature))
}
func main() {}