You've already forked v2ray-core
hide console window when running v2ctl. fix #779
This commit is contained in:
11
main/config_json_windows.go
Normal file
11
main/config_json_windows.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// +build windows
|
||||
|
||||
package main
|
||||
|
||||
import "syscall"
|
||||
|
||||
func getSysProcAttr() *syscall.SysProcAttr {
|
||||
return &syscall.SysProcAttr{
|
||||
HideWindow: true,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user