Fix platform wrapper

This commit is contained in:
世界
2023-02-22 20:52:57 +08:00
parent 60094884cd
commit 140ed9a4cb
9 changed files with 339 additions and 27 deletions

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
}