Fix platform wrapper

This commit is contained in:
世界
2023-02-22 20:52:57 +08:00
parent d8a6df02ad
commit 8f13166475
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
}