mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-14 05:11:17 +08:00
07fda93111
[Chore]隐藏TUN模式在system堆栈启动时弹窗
13 lines
174 B
Go
13 lines
174 B
Go
//go:build windows
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"os/exec"
|
|
"syscall"
|
|
)
|
|
|
|
func prepareBackgroundCommand(cmd *exec.Cmd) {
|
|
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
|
}
|