Skip to content

Conversation

@shvchk
Copy link

@shvchk shvchk commented May 29, 2019

Fixes #6

@ValdikSS
Copy link
Owner

ValdikSS commented Sep 7, 2019

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.
Take a look how I did it in windows2usb, in the end of file.


while [[ -z "$image" ]]
do
image="$(zenity --file-selection --title='Select image')"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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' \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
TRUE 'gpt' 'UEFI Boot' \
TRUE 'gpt' 'UEFI Boot (recommended)' \

@ValdikSS
Copy link
Owner

ValdikSS commented Sep 7, 2019

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?

@ValdikSS
Copy link
Owner

@shvchk ping

@ValdikSS
Copy link
Owner

ValdikSS commented Dec 8, 2019

@shvchk ping. I really want to merge that but it doesn't work correctly as for now.

@Twig6943
Copy link

Hey could you merge this? Its been half a decade lol

@Twig6943
Copy link

image Nvm this is probably going to break stuff

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.

Simple GUI with Zenity / YAD

3 participants