supported.txt > supported.md
This commit is contained in:
parent
c987f92916
commit
481f66133f
|
@ -0,0 +1,69 @@
|
||||||
|
agarimos
|
||||||
|
alma
|
||||||
|
alpine
|
||||||
|
android
|
||||||
|
archlinux
|
||||||
|
archcraft
|
||||||
|
arcolinux
|
||||||
|
batocera
|
||||||
|
blendos
|
||||||
|
cachyos
|
||||||
|
centos-stream
|
||||||
|
cereus
|
||||||
|
debian
|
||||||
|
deepin
|
||||||
|
devuan
|
||||||
|
dietpi
|
||||||
|
dragonflybsd
|
||||||
|
elementary
|
||||||
|
endeavouros
|
||||||
|
endless
|
||||||
|
fedora
|
||||||
|
freebsd
|
||||||
|
freedos
|
||||||
|
fvoid
|
||||||
|
gabeeos
|
||||||
|
garuda
|
||||||
|
gentoo
|
||||||
|
ghostbsd
|
||||||
|
haiku
|
||||||
|
kali
|
||||||
|
kdeneon
|
||||||
|
kolibrios
|
||||||
|
kubuntu
|
||||||
|
linuxmint
|
||||||
|
lmde
|
||||||
|
mageia
|
||||||
|
manjaro
|
||||||
|
mxlinux
|
||||||
|
netboot
|
||||||
|
netbsd
|
||||||
|
nixos
|
||||||
|
lubuntu
|
||||||
|
openbsd
|
||||||
|
opensuse
|
||||||
|
oraclelinux
|
||||||
|
popos
|
||||||
|
reactos
|
||||||
|
rebornos
|
||||||
|
rockylinux
|
||||||
|
siduction
|
||||||
|
slackware
|
||||||
|
slitaz
|
||||||
|
solus
|
||||||
|
steamos
|
||||||
|
tails
|
||||||
|
truenas-core
|
||||||
|
truenas-scale
|
||||||
|
ubuntu
|
||||||
|
ubuntu-budgie
|
||||||
|
ubuntukylin
|
||||||
|
ubuntu-mate
|
||||||
|
ubuntustudio
|
||||||
|
ubuntu-unity
|
||||||
|
void
|
||||||
|
voidpup
|
||||||
|
vxlinux
|
||||||
|
xerolinux
|
||||||
|
xubuntu
|
||||||
|
zorin
|
8
quickgui
8
quickgui
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
version="0.1"
|
||||||
# DEBUG mod
|
# DEBUG mod
|
||||||
#bash -x quickyad 2>&1 | tee output.log
|
#bash -x quickyad 2>&1 | tee output.log
|
||||||
|
|
||||||
# YAD gui script using Forked excellent quickemu
|
# YAD gui script using Forked excellent quickemu
|
||||||
#TODO Download Icons
|
#TODO Download Icons
|
||||||
#TODO Add homepages to right click
|
#TODO Add homepages to right click
|
||||||
|
#TODO solve yad output (null)
|
||||||
|
|
||||||
echo "Running..."
|
echo "Running..."
|
||||||
# dependencies checks
|
# dependencies checks
|
||||||
|
@ -59,7 +61,7 @@ done
|
||||||
# remove desktop files (supported VMs)
|
# remove desktop files (supported VMs)
|
||||||
rm "$CONFIG_DIR"/vms_supported/*
|
rm "$CONFIG_DIR"/vms_supported/*
|
||||||
# get supported VMs
|
# get supported VMs
|
||||||
quickget | sed 1d | cut -d':' -f2 | grep -o '[^ ]*' > "$CONFIG_DIR/supported.txt"
|
quickget | sed 1d | cut -d':' -f2 | grep -o '[^ ]*' > "$CONFIG_DIR/supported.md"
|
||||||
while read -r get_name; do
|
while read -r get_name; do
|
||||||
vm_desktop_file=$(echo "$get_name" | tr ' ' '_')
|
vm_desktop_file=$(echo "$get_name" | tr ' ' '_')
|
||||||
releases=$(quickget "$vm_desktop_file" | grep 'Releases' | cut -d':' -f2 | sed 's/^ //')
|
releases=$(quickget "$vm_desktop_file" | grep 'Releases' | cut -d':' -f2 | sed 's/^ //')
|
||||||
|
@ -97,12 +99,12 @@ Icon=$icon_file
|
||||||
Categories=System;Virtualization;"
|
Categories=System;Virtualization;"
|
||||||
echo "$desktop_file_content" > "$CONFIG_DIR"/vms_supported/"$vm_desktop_file".desktop
|
echo "$desktop_file_content" > "$CONFIG_DIR"/vms_supported/"$vm_desktop_file".desktop
|
||||||
fi
|
fi
|
||||||
done < "$CONFIG_DIR"/supported.txt
|
done < "$CONFIG_DIR"/supported.md
|
||||||
|
|
||||||
# show YAD notebook
|
# show YAD notebook
|
||||||
yad --plug="$key" --tabnum=1 --icons --listen --read-dir="$CONFIG_DIR"/vms_ready --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &
|
yad --plug="$key" --tabnum=1 --icons --listen --read-dir="$CONFIG_DIR"/vms_ready --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &
|
||||||
yad --plug="$key" --tabnum=2 --icons --listen --read-dir="$CONFIG_DIR"/vms_supported --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &
|
yad --plug="$key" --tabnum=2 --icons --listen --read-dir="$CONFIG_DIR"/vms_supported --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &
|
||||||
yad --plug="$key" --tabnum=3 --icons --listen --read-dir="$CONFIG_DIR" --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &
|
yad --plug="$key" --tabnum=3 --icons --listen --read-dir="$CONFIG_DIR" --sort-by-name --no-buttons --borders=0 --icon-size=48 --item-width=76 &
|
||||||
yad --dynamic --notebook --key="$key" --width=900 --height=800 --title="GUI for Quickemu" --listen --no-buttons --tab="run VM" --tab="download and run VM" --tab="settings"
|
yad --dynamic --notebook --key="$key" --width=900 --height=800 --title="DistroHopper $version" --listen --no-buttons --tab="run VM" --tab="download VM" --tab="settings"
|
||||||
# exit peacfully
|
# exit peacfully
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue