package app import ( "os/exec" "syscall" ) func init() { configureDirectoryPickerProcess = func(command *exec.Cmd) { command.SysProcAttr = &syscall.SysProcAttr{HideWindow: true, CreationFlags: 0x08000000} } }