feat(watchdog): add auto boot up for watchdog progress

This commit is contained in:
2026-05-09 15:30:03 +08:00
parent 898b67a24b
commit 21a4b03c57
5 changed files with 121 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
//go:build windows
package watchdog
import (
"os/exec"
"syscall"
)
func configureWatchdogCommand(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
}