目录重构完成,但是Preview通道尚未可用

This commit is contained in:
2026-08-07 19:42:49 +08:00
parent 3a381c85ed
commit 86df4bf3c5
16 changed files with 1620 additions and 24 deletions
+20
View File
@@ -0,0 +1,20 @@
//go:build windows
package frp
import (
"os/exec"
"syscall"
)
// setWindowHide Windows 隐藏窗口
func setWindowHide(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{
HideWindow: true,
}
}
// setSysProcAttr Windows 不需要 Setpgid
func setSysProcAttr(cmd *exec.Cmd) {
// Windows 不支持 Setpgid
}