asticode / go-astilectron-demo

Discover the power of Astilectron through a demo app
MIT License
404 stars 83 forks source link

On Windows a cmdline box is shown alogn the main window #22

Closed marcelmiguel closed 6 years ago

marcelmiguel commented 6 years ago

Is it possible not to show the cmdline box when openning the app? Is it possible to open the window on a secondary screen?

asticode commented 6 years ago

@marcelmiguel is this the same issue: https://github.com/asticode/go-astilectron/issues/18 ?

marcelmiguel commented 6 years ago

It can be. The problem is that the terminal box is shown as long as the GUI. Executing "astilectron_bundler -v" shows go build is executed with "-H windowsgui", that looks correct, I'm trying other options of go build, but none of them work.

asticode commented 6 years ago

yeah the windowsgui ldflag usually do the trick. Which version of go and windows are you using?

marcelmiguel commented 6 years ago

W10 & Go 1.10

deranjer commented 6 years ago

Same exact setup here, same exact issue. go1.10 windows/amd64

asticode commented 6 years ago

Have you tested W10 + Go 1.9 to see whether this is an issue brought by Go 1.10?

asticode commented 6 years ago

Could you guys test on Go 1.10.1 ? I've tested it with Windows 10 and it's working properly.

asticode commented 6 years ago

hey guys, could you check out the last answer of this issue and see if that helps in any way?

asticode commented 6 years ago

closing this issue as this is a duplicate of https://github.com/asticode/go-astilectron-bundler/issues/16