소스 검색

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

Daniel 7 달 전
부모
커밋
83d4516fd2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      kernel/harmony/kernel.go

+ 2 - 2
kernel/harmony/kernel.go

@@ -126,8 +126,8 @@ func SetTimezone(container, appDir, timezoneID string) {
 }
 }
 
 
 //export DisableFeature
 //export DisableFeature
-func DisableFeature(feature string) {
-	util.DisableFeature(feature)
+func DisableFeature(feature *C.char) {
+	util.DisableFeature(C.GoString(feature))
 }
 }
 
 
 func main() {}
 func main() {}