From 9665a11e212891b9aecdfdbf0ca945c1f84bb201 Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:51:11 -0700 Subject: [PATCH] Add Windows error message to the download function --- quickget | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/quickget b/quickget index 55a9a0a..9438362 100755 --- a/quickget +++ b/quickget @@ -3359,6 +3359,17 @@ function curl_windows() { fi fi + local url="https://www.microsoft.com/en-us/software-download/windows$windows_version" + case "$windows_version" in + 8 | 10) url="${url}ISO";; + esac + + echo + echo " - Manually download the Windows ${windows_version} ISO using a web browser from: ${url}" + echo " - Save the downloaded ISO to: $(realpath "${VM_PATH}")" + echo " - Update the config file to reference the downloaded ISO: ./${VM_PATH}.conf" + echo " - Continuing with the VM creation process..." + return "$error_action" }