Skip to content

Commit

Permalink
chore(windows): drop non-functioning windows 11 hash checking
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed May 13, 2024
1 parent 1027424 commit ebed805
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -3237,15 +3237,6 @@ function download_windows_workstation() {
# Download ISO
FILE_NAME="$(echo "$iso_download_link" | cut -d'?' -f1 | cut -d'/' -f5)"
web_get "${iso_download_link}" "${VM_PATH}" "${FILE_NAME}"
# Only Windows 11 hashes can be found directly from Microsoft's page.
if [ "${windows_version}" == 11 ]; then
local HASH_I18N="${I18N}"
if [ "${I18N}" == "English (United States)" ]; then
HASH_I18N="English"
fi
HASH=$(echo "$iso_download_link_html" | sed 's/<tr><td>/\n<tr><td>/g' | grep "${HASH_I18N} 64-bit" | grep -o -P '(?<=</td><td>).*(?=</td></tr>)')
check_hash "${VM_PATH}/${FILE_NAME}" "${HASH}"
fi
}

function get_windows() {
Expand Down

0 comments on commit ebed805

Please sign in to comment.