From afd3c867be09d3714c18129015f65b309ed94f1e Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 5 May 2024 20:22:10 +0200 Subject: [PATCH] Update define.sh --- src/define.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/define.sh b/src/define.sh index 77f7f79..7cd05fd 100644 --- a/src/define.sh +++ b/src/define.sh @@ -396,29 +396,35 @@ getCatalog() { local id="$1" local ret="$2" local url="" + local name="" local edition="" case "${id,,}" in "win11${PLATFORM,,}" ) edition="Professional" + name="Windows 11 Pro" url="https://go.microsoft.com/fwlink?linkid=2156292" ;; "win10${PLATFORM,,}" ) edition="Professional" + name="Windows 10 Pro" url="https://go.microsoft.com/fwlink/?LinkId=841361" ;; "win11${PLATFORM,,}-enterprise" | "win11${PLATFORM,,}-enterprise-eval") edition="Enterprise" + name="Windows 11 Enterprise" url="https://go.microsoft.com/fwlink?linkid=2156292" ;; "win10${PLATFORM,,}-enterprise" | "win10${PLATFORM,,}-enterprise-eval" ) edition="Enterprise" + name="Windows 10 Enterprise" url="https://go.microsoft.com/fwlink/?LinkId=841361" ;; esac case "${ret,,}" in "url" ) echo "$url" ;; + "name" ) echo "$name" ;; "edition" ) echo "$edition" ;; *) echo "";; esac