Fix platform wrapper

This commit is contained in:
世界
2023-02-24 13:00:49 +08:00
parent 60094884cd
commit 140ed9a4cb
9 changed files with 339 additions and 27 deletions
+4
View File
@@ -5,3 +5,7 @@ import C "github.com/sagernet/sing-box/constant"
func SetBasePath(path string) {
C.SetBasePath(path)
}
func Version() string {
return C.Version
}