Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable optionally starting LUAZIP apps without an attached console window #537

Open
rdw-software opened this issue Feb 28, 2024 · 0 comments

Comments

@rdw-software
Copy link
Member

I'm not actually sure if this is desirable for Linux and macOS, nor how user expectations are on those platforms. But on Windows:

  • It's conceivable you'd want to create a "native" app that spawns one or multiple windows
  • For example, 3D rendering with WebGPU inside a GLFW context (or even just a WebView)
  • Running this from the CLI obviously requires a console/terminal, which is fine for development or debugging
  • However, once built into a standalone executable, it would be desirable to have the option of hiding this window
  • At compile time, it generally can be done by adding a WinMain function, although that's a bit awkward in this context
  • A better approach would be to hide the console window when running from a LUAZIP app, using platform APIs

Not sure if this will work without briefly showing a terminal if done via Win32 APIs? If so, may need a different approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Improvement is key (Get in here)
Status: Soon™
Development

No branches or pull requests

1 participant