Would be nice to be able to just double click AppImage, answer a few questions (device, iso file location, mode) and… done! 😃
Might be useful to add two new arguments to force corresponding mode (e.g. --cli and --gui).
if [[ $DISPLAY ]] could be used to select default mode (or maybe build separate AppImage defaulting to GUI mode).
App can make sure it's ok to output to stdout with if [ -t 1 ], and use log file if not (e.g. app is launched via double click or cron instead of terminal).
I might come up with a PR when I have some time. Would it be better to do GUI as a separate script (kind of wrapper) or part of the main script?
Would be nice to be able to just double click AppImage, answer a few questions (device, iso file location, mode) and… done! :smiley:
Might be useful to add two new arguments to force corresponding mode (e.g. `--cli` and `--gui`).
`if [[ $DISPLAY ]]` could be used to select default mode (or maybe build separate AppImage defaulting to GUI mode).
App can make sure it's ok to output to stdout with `if [ -t 1 ]`, and use log file if not (e.g. app is launched via double click or cron instead of terminal).
I might come up with a PR when I have some time. Would it be better to do GUI as a separate script (kind of wrapper) or part of the main script?
Would it be better to do GUI as a separate script (kind of wrapper) or part of the main script?
I think the separate script is better, but either methods work.
>I might come up with a PR when I have some time
Sure, that would be great.
>Would it be better to do GUI as a separate script (kind of wrapper) or part of the main script?
I think the separate script is better, but either methods work.
I don't think it's a good design to mix core logic and user-interaction in the same tool... In my opinion, I think this script is designed to be a simple tool, to do one thing (pour windows to usb), and it is doing that thing very very well. https://en.wikipedia.org/wiki/Unix_philosophy
I don't think it's a good design to mix core logic and user-interaction in the same tool... In my opinion, I think this script is designed to be a simple tool, to do one thing (pour windows to usb), and it is doing that thing very very well.
https://en.wikipedia.org/wiki/Unix_philosophy
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Would be nice to be able to just double click AppImage, answer a few questions (device, iso file location, mode) and… done! 😃
Might be useful to add two new arguments to force corresponding mode (e.g.
--cliand--gui).if [[ $DISPLAY ]]could be used to select default mode (or maybe build separate AppImage defaulting to GUI mode).App can make sure it's ok to output to stdout with
if [ -t 1 ], and use log file if not (e.g. app is launched via double click or cron instead of terminal).I might come up with a PR when I have some time. Would it be better to do GUI as a separate script (kind of wrapper) or part of the main script?
Sure, that would be great.
I think the separate script is better, but either methods work.
I don't think it's a good design to mix core logic and user-interaction in the same tool... In my opinion, I think this script is designed to be a simple tool, to do one thing (pour windows to usb), and it is doing that thing very very well.
https://en.wikipedia.org/wiki/Unix_philosophy