Skip to content

Conversation

@Robin-K-Lynn
Copy link
Contributor

Switched from using sys.argv to using argparse for the main command line arguments. If ./main.py -h is called, a argparse's helper is returned. If a command is recognised, the program consumes it. Remaining arguments are passed into QApplication.

I also added a command line argument that optionally disables the splash screen on start up.

@tlecomte
Copy link
Owner

tlecomte commented Aug 4, 2025

Thanks @Robin-K-Lynn !
This looks good 👍🏻
Do you have a scenario where the splash screen is not needed ?

@Robin-K-Lynn
Copy link
Contributor Author

On my device I have an animation that plays when a window is created or destroyed. With the splash screen, a lot of particle effects and animations happen very quickly which is quite distracting. On my machine Friture opens as fast as all over "instant" opening applications, so the splash screen is not needed.

Mostly the splash screen change is for power users who want that option.

@tlecomte
Copy link
Owner

tlecomte commented Aug 4, 2025

Alright, thanks for sharing the context! I'm glad that it does start fast on your machine.

@tlecomte tlecomte merged commit aaaa426 into tlecomte:master Aug 4, 2025
4 checks passed
@Robin-K-Lynn Robin-K-Lynn deleted the command-args branch August 4, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants