From 8d807340878329825ad6a39175e78ac1fbc97b7b Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 13 Nov 2021 19:42:46 +0000 Subject: [PATCH] Add .png and .svg icons to the CSV and JSON lists. Close #183 https://github.com/Lukewh/quickemu-icons --- README.md | 8 ++++++-- quickget | 13 +++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fa14a60..976b516 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/quickget b/quickget index 0c5680e..5415d96 100755 --- a/quickget +++ b/quickget @@ -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