[BUG] Command line interface suppressed
Due to the recently added cfg_attr used by Tauri, the command line gets suppressed. https://github.com/louis-e/arnis/blob/278c7a2cdaa449f732d3d3bf5de55c20ac790b62/src/main.rs#L1
If there is still a demand for the CLI, we need to find a way to let the user choose between using the GUI or the CLI.
we can also keep it suppressed, and still log stuff for debugging or bug reports by making a function that appends the current datetime + a message to a file
That also sounds good! Do you think there is a need for keeping the command line available at all? I mean as of now we provide pretty much every feature in the GUI too and there will be no user without a desktop environment who will want to generate a Minecraft world :D
That also sounds good! Do you think there is a need for keeping the command line available at all? I mean as of now we provide pretty much every feature in the GUI too and there will be no user without a desktop environment who will want to generate a Minecraft world :D
on a second thought you're right, people running this in a headless linux server might want to run the cli only
The bug title should say it's a Windows bug (because other platforms don't have an equivalent of the subsystem flag and its special behavior)
The reason for the bug is that Windows doesn't try to attach/open a console with the Windows subsystem (if you use the console subsystem, then it does get attached but there might be a flash of a console window when opening the program in GUI)
Luckily some people discovered a workaround by calling AttachConsole(ATTACH_PARENT_PROCESS); before doing any console output (but that might have some issues)