Add .png and .svg icons to the CSV and JSON lists. Close #183

https://github.com/Lukewh/quickemu-icons
add-icons
Martin Wimpress 3 years ago
parent f8e7f10ffd
commit 8d80734087
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 8
      README.md
  2. 13
      quickget

@ -110,9 +110,13 @@ Now install all the **Requirements** documented above.
## Graphical User Interfaces
While `quickemu` and `quickget` are designed for the terminal, a graphical user interfaces is also available:
While `quickemu` and `quickget` are designed for the terminal, a graphical user interface is also available:
* [Quickgui](https://github.com/quickgui/quickgui) by [Mark Johnson](https://github.com/marxjohnson) and [Yannick Mauray](https://github.com/ymauray).
* **[Quickgui](https://github.com/quickgui/quickgui)** by [Mark Johnson](https://github.com/marxjohnson) and [Yannick Mauray](https://github.com/ymauray).
Many thanks to [Luke Wesley-Holley](https://github.com/Lukewh) and
[Philipp Kiemle](https://github.com/daPhipz) for creating the
**[Quickemu icons](https://github.com/Lukewh/quickemu-icons)** 🎨
### Quickgui for Ubuntu

@ -88,7 +88,9 @@ function list_csv() {
local FUNC
local OPTION
local OS
local PNG
local RELEASE
local SVG
local ZS=""
local DL=""
@ -99,7 +101,7 @@ function list_csv() {
else
DL="wget"
fi
echo "Display Name,OS,Release,Option,Downloader"
echo "Display Name,OS,Release,Option,Downloader,PNG,SVG"
for OS in $(os_support); do
DISPLAY_NAME="$(pretty_name "${OS}")"
if [[ "${OS}" == *"ubuntu"* ]]; then
@ -111,6 +113,9 @@ function list_csv() {
else
FUNC="${OS}"
fi
PNG="https://lukewh.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.png"
SVG="https://lukewh.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.svg"
for RELEASE in $("releases_${FUNC}"); do
if [ "${OS}" == "macos" ]; then
@ -129,14 +134,14 @@ function list_csv() {
if [ "${OS}" == "windows" ]; then
for OPTION in "${LANGS[@]}"; do
echo "${DISPLAY_NAME},${OS},${RELEASE},${OPTION},${DOWNLOADER}"
echo "${DISPLAY_NAME},${OS},${RELEASE},${OPTION},${DOWNLOADER},${PNG},${SVG}"
done
elif [ "${OS}" == "popos" ]; then
for OPTION in intel nvidia; do
echo "${DISPLAY_NAME},${OS},${RELEASE},${OPTION},${DOWNLOADER}"
echo "${DISPLAY_NAME},${OS},${RELEASE},${OPTION},${DOWNLOADER},${PNG},${SVG}"
done
else
echo "${DISPLAY_NAME},${OS},${RELEASE},,${DOWNLOADER}"
echo "${DISPLAY_NAME},${OS},${RELEASE},,${DOWNLOADER},${PNG},${SVG}"
fi
done
done

Loading…
Cancel
Save