Add basic GUI based on Zenity #7

Open
shvchk wants to merge 1 commits from shvchk/feature-gui into master
shvchk commented 2019-05-29 19:58:35 +03:00 (Migrated from github.com)

Fixes #6

Fixes #6
ValdikSS commented 2019-09-07 18:57:20 +03:00 (Migrated from github.com)

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.

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.
ValdikSS (Migrated from github.com) reviewed 2019-09-07 18:57:32 +03:00
@@ -0,0 +35,4 @@
while [[ -z "$image" ]]
do
image="$(zenity --file-selection --title='Select image')"
ValdikSS (Migrated from github.com) commented 2019-09-07 18:55:47 +03:00
  image="$(zenity --file-selection --file-filter='Image files (iso) | *.iso *.ISO' --file-filter='All files | *' --title='Select image')"
```suggestion image="$(zenity --file-selection --file-filter='Image files (iso) | *.iso *.ISO' --file-filter='All files | *' --title='Select image')" ```
@@ -0,0 +46,4 @@
--title='Select bootloader mode' \
--column='' --column='ID' --column='Mode' --hide-column=2 \
FALSE 'mbr' 'BIOS Boot' \
TRUE 'gpt' 'UEFI Boot' \
ValdikSS (Migrated from github.com) commented 2019-09-07 18:56:13 +03:00
    TRUE  'gpt'     'UEFI Boot (recommended)' \
```suggestion TRUE 'gpt' 'UEFI Boot (recommended)' \ ```
ValdikSS commented 2019-09-07 18:58:35 +03:00 (Migrated from github.com)

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?

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 commented 2019-09-28 03:19:26 +03:00 (Migrated from github.com)

@shvchk ping

@shvchk ping
ValdikSS commented 2019-12-08 04:20:40 +03:00 (Migrated from github.com)

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

@shvchk ping. I really want to merge that but it doesn't work correctly as for now.
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin shvchk/feature-gui:shvchk/feature-gui
git checkout shvchk/feature-gui
Sign in to join this conversation.