-
Notifications
You must be signed in to change notification settings - Fork 68
Bundler on Windows creates console window. #16
Comments
@FloThinksPi are you working on Windows 10 or on a lower version? Which version of Go are you using? |
Hi @asticode I am on Windows 10 and Go 1.10 |
@FloThinksPi Could you test on Go 1.10.1 ? I've tested it with Windows 10 and it's working properly. |
I'm seeing the same behavior on Windows 10 with Go version go1.10.1 windows/amd64 |
ha, so you're building a windows binary from a windows machine? I'll try that. |
Yes, exactly. |
ok, can anyone test building a windows binary on a linux machine like I did and say whether it works with Go 1.10.1 and Windows 10? In the meantime I'll investigate building a windows binary with a windows machine. |
I tested it building on linux with go version go1.10.1 linux/amd64 and running it on Windows 10 and the problem persists |
Damn, that's a bummer. A few questions:
|
I compiled one on Linux for Windows and will try if this occurs when i am back from Work. |
Mmm one thing I notice is that the name on the top left of the window is |
Yes, I used the default demo project. Just added the |
@sebaArriagada could you try the following:
I want to check whether the problem is caused by an older version of electron or astilectron used. |
The versions are:
I managed to get rid of the empty console but I don't know the reason behind it. In the first attemps I did a |
No worries about the @FloThinksPi could you:
|
One think I forgot to point out is that I didn't update anything from the tests I did before. The test that work and the ones that not, were built with the same |
hey guys, could you check out the last answer of this issue and see if that helps in any way? |
hey @asticode, seems like the last answer is about how to reproduce the problem. I managed to solve it by using |
Hey guys, Seems like the issue is indeed in GO and will be fixed in the next version: golang/go#24232 (comment). Seems like it will also be backported to 1.10. I'll close this issue for now, but feel free to reopen it if the problem is still there even after upgrading GO. Cheers |
When Opening the Gui of the Demo Project(https://github.com/asticode/go-astilectron-demo) on windows, there is also a empty CLI besides the Electron GUI.
So i suspect the
-ldflags -H=windowsgui
flag is not set properly ingo-astilectron-bundler/bundler.go
Lines 435 to 437 in c9aa756
Or does the
bundler.json
needs any adaption here ?Best Regards
Florian :)
The text was updated successfully, but these errors were encountered: