Closed Jan200101 closed 3 weeks ago
Converts primelauncher to GUI subsystem. Since the GUI subsystem NEEDS the entrypoint to be WinMain I made it call main, since large portions of the code rely on argc and argv handling.
This is practically how Microsoft implements this __argc and __argv are available globals https://learn.microsoft.com/en-us/cpp/c-runtime-library/argc-argv-wargv?view=msvc-170&redirectedfrom=MSDN
__argc
__argv
Would cause issues with the Server Docker since it it expects Northstar to be a GUI app
Converts primelauncher to GUI subsystem. Since the GUI subsystem NEEDS the entrypoint to be WinMain I made it call main, since large portions of the code rely on argc and argv handling.
This is practically how Microsoft implements this
__argc
and__argv
are available globals https://learn.microsoft.com/en-us/cpp/c-runtime-library/argc-argv-wargv?view=msvc-170&redirectedfrom=MSDN