This commit is contained in:
afkarxyz
2025-12-13 13:36:36 +07:00
parent 22742f1ddd
commit 910420634c
3 changed files with 34 additions and 15 deletions
+17
View File
@@ -0,0 +1,17 @@
//go:build windows
// +build windows
package backend
import (
"os/exec"
"syscall"
)
// setHideWindow sets HideWindow attribute for Windows processes
func setHideWindow(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{
HideWindow: true,
}
}