Update TUN creation

This commit is contained in:
世界
2023-02-26 19:16:28 +08:00
parent cebd730cf2
commit a338f3a5ba
14 changed files with 64 additions and 62 deletions

View File

@@ -85,10 +85,10 @@ func buildiOS() {
}
if !debugEnabled {
args = append(args,
"-trimpath", "-ldflags=-s -w -buildid=",
"-trimpath", "-ldflags=-s -w -buildid=", "-tags", "with_gvisor,with_clash_api",
)
} else {
args = append(args, "-tags", "debug")
args = append(args, "-tags", "with_gvisor,with_clash_api,debug")
}
args = append(args, "./experimental/libbox")