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
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: