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

Console Output #127

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Console Output #127

merged 2 commits into from
Oct 16, 2024

Conversation

emuell
Copy link
Owner

@emuell emuell commented Oct 15, 2024

Try to detect if Restic Browser is running in a console. When passing -V or -h args, dump to the console and exit the app. Also exit the app when specifying invalid arguments.

On Windows, try to attach to a console. This doesnt make the app a command line app, but at leasts shows the output in the console.

@emuell
Copy link
Owner Author

emuell commented Oct 15, 2024

fixes #126

- test if the restic app is running in a terminal or as GUI app
- when passing version or help args, dump those either to the terminal or try showing a dialog
- when an error happens while creating the app show the error in the terminal or in a dialog
@emuell emuell force-pushed the feature/windows-console-output branch from a85e973 to d3a0cf1 Compare October 16, 2024 06:40
@emuell emuell merged commit 035cd06 into master Oct 16, 2024
4 checks passed
@emuell emuell deleted the feature/windows-console-output branch October 16, 2024 09:50
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.

1 participant