From 13d83e1aab2bd5f9fc519e01776a6e0ae7f45488 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 24 Apr 2024 18:02:18 +0200 Subject: [PATCH] fix: Architecture --- src/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 88ff88f..94d34bb 100644 --- a/src/install.sh +++ b/src/install.sh @@ -503,12 +503,12 @@ downloadImage() { rm -rf "$TMP" mkdir -p "$TMP" + rc=99 ISO="$TMP/$VERSION.esd" iso="$ISO" rm -f "$iso" url="" - rc=99 if getESD "$TMP/esd" "$iso"; then url="$ESD_URL" @@ -538,10 +538,10 @@ downloadImage() { case "${VERSION,,}" in "win11${ARCHI,,}") - url="https://dl.bobpony.com/windows/11/en-us_windows_11_23h2_${ARCHI}.iso" + url="https://dl.bobpony.com/windows/11/en-us_windows_11_23h2_${ARCHI,,}.iso" ;; "win10${ARCHI,,}") - url="https://dl.bobpony.com/windows/10/en-us_windows_10_22h2_${ARCHI}.iso" + url="https://dl.bobpony.com/windows/10/en-us_windows_10_22h2_${ARCHI,,}.iso" ;; *) (( rc != 99 )) && error "Failed to download $url , reason: $rc"