初始化

This commit is contained in:
李琦
2026-08-11 19:07:05 +08:00
commit d2aeb13a09
94 changed files with 8704 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
//go:build windows
package platform
import (
"os/exec"
"syscall"
)
// configureHidden 同时设置 HideWindow 和 CREATE_NO_WINDOW避免 git/wsl 查询闪出终端窗口。
func configureHidden(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true, CreationFlags: 0x08000000}
}