Open subsoap opened 6 years ago
Hi @subsoap ! Hmm, I'm not sure I understand. This sounds like two issues?
1) The console window isn't shown when you "Build and run"? Is the problem that you don't see the output in the Editor's output window?
2) You cannot bundle the app for windows? I'm a bit unclear as to why this failed for you? What happened? Did it fail with an error?
Right, the console window doesn't show when doing "Project -> Build". Editor console output still shows, but I have no ability to directly close the running engine. The console window should show itself when running a headless build from the editor.
There is no problem with bundling as long as I do not build first. If I bundle and then run the exe the console window shows fine. The error I get when bundling after building is
It would be nice to be able to kill the running engine copy from the editor. Such as a button next to the clear console output in the editor.
@erikangelin-king I will move this from engine to editor, since this feels more like a UI thing. E.g. a headless build on OSX won't even show a terminal window, and should only output log to the editor. So in order to stop such a build, we need a UI element to do this.
re 2) This feels like an error due to #1, right? (and also win32 behavior, not being able to overwrite an executable while it's running)
The editor hides the console window even with a headless build
This also makes it so if you attempt to build a headless build bundling after will not work and you must restart Defold editor to make bundling work
Sample headless.appmanifest tested with a blank project on Windows 10