Skip to content

Add "--no-console" compile flag #974

Description

@MetabaronCZ

Hello.
I am using FFI module with SDL3 library and compiling *.exe file on Windows 10.
When double clicking on resulting *.exe file the SDL3 window opens along with console window (the console window is unwanted).

I had similar problem when using SDL3 with C++ (on Windows). The solution was GCC compile flag called "-mwindows". If I understand correctly, this flag tells OS that the application is not terminal based, but graphical.

It is possible to implement this?

My suggestion for resulting compile command:

tjs compile --no-console main.js main.exe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions