-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add basic GUI based on Zenity #7
base: master
Are you sure you want to change the base?
Conversation
This script should probably re-spawn itself as root, because it could not kill windows2usb script and its spawned processes, as they were running as root. |
|
||
while [[ -z "$image" ]] | ||
do | ||
image="$(zenity --file-selection --title='Select image')" |
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.
image="$(zenity --file-selection --title='Select image')" | |
image="$(zenity --file-selection --file-filter='Image files (iso) | *.iso *.ISO' --file-filter='All files | *' --title='Select image')" |
--title='Select bootloader mode' \ | ||
--column='' --column='ID' --column='Mode' --hide-column=2 \ | ||
FALSE 'mbr' 'BIOS Boot' \ | ||
TRUE 'gpt' 'UEFI Boot' \ |
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.
TRUE 'gpt' 'UEFI Boot' \ | |
TRUE 'gpt' 'UEFI Boot (recommended)' \ |
And it would be much, much better to actually show the progress. Is it possible to parse 7z progress in percentage and show it in zenity progress bar? |
@shvchk ping |
@shvchk ping. I really want to merge that but it doesn't work correctly as for now. |
Fixes #6