Fix platform wrapper

This commit is contained in:
世界 2023-02-22 20:52:57 +08:00
parent 60094884cd
commit 140ed9a4cb
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
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
}