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

[BUG] Command line interface suppressed #99

Open
louis-e opened this issue Dec 29, 2024 · 3 comments
Open

[BUG] Command line interface suppressed #99

louis-e opened this issue Dec 29, 2024 · 3 comments
Labels
bug Something isn't working discussion

Comments

@louis-e
Copy link
Owner

louis-e commented Dec 29, 2024

Due to the recently added cfg_attr used by Tauri, the command line gets suppressed.

#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

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.

@louis-e louis-e added the bug Something isn't working label Dec 29, 2024
@amir16yp
Copy link
Contributor

amir16yp commented Jan 3, 2025

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

@louis-e
Copy link
Owner Author

louis-e commented Jan 3, 2025

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

@amir16yp
Copy link
Contributor

amir16yp commented Jan 3, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discussion
Projects
None yet
Development

No branches or pull requests

2 participants