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: Add Unzip API for HarmonyOS
Danielf7a9903715cf
diff --git a/kernel/harmony/kernel.go b/kernel/harmony/kernel.goindex f692aa0777..b9b3f754c4 100644--- a/kernel/harmony/kernel.go+++ b/kernel/harmony/kernel.go@@ -132,8 +132,8 @@ func DisableFeature(feature *C.char) {}//export Unzip-func Unzip(zipFilePath, destination string) {- if err := gulu.Zip.Unzip(zipFilePath, destination); nil != err {+func Unzip(zipFilePath, destination *C.char) {+ if err := gulu.Zip.Unzip(C.GoString(zipFilePath), C.GoString(destination)); nil != err {logging.LogErrorf("unzip [%s] failed: %s", zipFilePath, err)}}