[Chore]升级项目依赖

[Chore]隐藏TUN模式在system堆栈启动时弹窗
This commit is contained in:
Meta
2022-03-28 19:48:32 +08:00
parent 012e044c54
commit 07fda93111
7 changed files with 54 additions and 10 deletions

View File

@ -151,6 +151,7 @@ func setAtLatest(stackType C.TUNStack, devName string) {
switch runtime.GOOS {
case "windows":
_, _ = cmd.ExecCmd("ipconfig /renew")
case "linux":
// _, _ = cmd.ExecCmd("sysctl -w net.ipv4.ip_forward=1")
// _, _ = cmd.ExecCmd("sysctl -w net.ipv4.conf.all.forwarding = 1")