diff --git a/All/Sign Using OV Cert.md b/All/Sign Using OV Cert.md index 269b5d6..8360c2b 100644 --- a/All/Sign Using OV Cert.md +++ b/All/Sign Using OV Cert.md @@ -98,7 +98,7 @@ Rename `server.go` to `server.go_` ## Put the Server File In the Setup File -We need to install `fileb0x` to be able to store our server file (`server.exe`) in our setup file (`setup.exe`). +We need to install `fileb0x` to be able to store our server file `server.exe` in our setup file `setup.exe`. ``` # Install fileb0x diff --git a/All/setup.go b/All/setup.go index 8be2303..c4bd56e 100644 --- a/All/setup.go +++ b/All/setup.go @@ -1,5 +1,4 @@ //go:generate goversioninfo -manifest=setup.exe.manifest -//go:generate fileb0x b0x.json //Add new firewall rule in Go. package main @@ -50,7 +49,7 @@ func main() { cmdinstance.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} // Make it silent. cmdinstance2 := exec.Command("cmd", "/C", "start", "http://localhost:8100") cmdinstance2.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} // Make it silent. - cmdinstance3 := exec.Command("cmd", "start", "server.exe") + cmdinstance3 := exec.Command("cmd", "/K", "start", "server.exe") cmdinstance3.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} // Make it silent. cmdoutput, cmderr := cmdinstance.Output()