mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 12:37:20 +01:00
feat: Improve Windows image descriptions (#1927)
This commit is contained in:
@@ -451,6 +451,17 @@ printVersion() {
|
||||
[[ "${PLATFORM,,}" != "x64" ]] && desc+=" for ${PLATFORM}"
|
||||
fi
|
||||
|
||||
echo "$desc"
|
||||
return 0
|
||||
}
|
||||
|
||||
printVariant() {
|
||||
|
||||
local id="$1"
|
||||
local desc="$2"
|
||||
|
||||
desc=$(printVersion "$id" "$desc") || return 1
|
||||
|
||||
case "${id,,}" in
|
||||
*"-iot" | *"-iot-eval" )
|
||||
desc+=" IoT"
|
||||
|
||||
Reference in New Issue
Block a user