-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: Launch arguments #301
base: main
Are you sure you want to change the base?
Conversation
@GeckoEidechse maybe you'll have answers to some of my questions 😃 |
Holy fuck this looks really cool :O
I'm tending towards a yes though in that case it should then also display the raw string in a text box somewhere ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably a bit too early to do a review atm but I was in the mood ^^"
In regards to clippy errors, half of them are caused by "unused function" which makes no sense to me cause clearly the function is used in the macro to set up tauri. Maybe one of the Rust wizards (cat, emerald, snagg, ...) in the Northstar Discord have an idea. For the rest feel free to poke me if you need/want any help <3
While FlightCore UI can try preventing users from breaking their launch arguments configuration by adding random words in it, I feel like the rust backend should be responsible for its integrity. |
Correcting user mistake sounds very difficult to do tbh. It makes more sense IMO to just reject with error and if possible say what's wrong (though the second part of that might also be quite difficult to do ^^) |
Honestly, there shouldn't rly be any handling of this sorta thing. It's almost impossible to know which launch args exist and are valid and stuff. Launch args are for advanced users and they should not need their hand to be held |
To elaborate:
|
Thanks for your feedback! |
Exactly that To expand on @ASpoonPlaysGames comment: Personally i think the user should have access to the ability to set commandline arguments in a text entry ( just like steam does it). You could then add what you show off in the initial PR comment into the DEV section with useful arguments to make testing easier. |
Since we're talking removing the |
I need help on the two following points:
|
This interface lists launch arguments (stolen from wiki page), and enables users to toggle them. A description of each argument can be displayed by hovering related item.
This is merely an interface with the
ns_startup_args.txt
file.launch_args_selector.webm
Closes #147.
TODOs
-language
argument