emuell / restic-browser

A GUI to browse and restore restic backup repositories.
MIT License
691 stars 21 forks source link

Display -h and V has no effects on windows #126

Closed Aare07 closed 5 days ago

Aare07 commented 1 week ago

On a Windows 10 system, the arguments -h, --help and -V, --version on the commandline have no effect. Nothing is displayed on the command shell, just a brief blink.

Plus it would be useful to display the version in the GUI in the header or status bar.

Thanks for vour great work! Greetings Aare

emuell commented 5 days ago

On Windows an app ceither be a console app or a GUI app, so handling of std out is a bit tricky as GUI app: but we indeed should at least try to show the output correctly. An attempt to fixe this is here: https://github.com/emuell/restic-browser/pull/127

This PR will also show errors and -v outputs in a dialog on all platforms instead of using the stdout when NOT running the app from the terminal.

Aare07 commented 5 days ago

Works perfect, thank you 👍