diff --git a/Fido.ps1 b/Fido.ps1 index a8e8a52..7b8f7e6 100644 --- a/Fido.ps1 +++ b/Fido.ps1 @@ -1,5 +1,5 @@ # -# Fido v1.63 - ISO Downloader, for Microsoft Windows and UEFI Shell +# Fido v1.64 - ISO Downloader, for Microsoft Windows and UEFI Shell # Copyright © 2019-2024 Pete Batard # Command line support: Copyright © 2021 flx5 # ConvertTo-ImageSource: Copyright © 2016 Chris Carter @@ -46,6 +46,9 @@ param( [string]$Arch, # (Optional) Only display the download URL [Toggles commandline mode] [switch]$GetUrl = $false, + # (Optional) Specify the architecture of the underlying CPU. + # This avoids a VERY TIME CONSUMING call to WMI to autodetect the arch. + [string]$PlatformArch, # (Optional) Increase verbosity [switch]$Verbose = $false, # (Optional) Produce debugging information @@ -156,6 +159,11 @@ $WindowsVersions = @( ) @( @("UEFI Shell 2.2", "UEFI_SHELL 2.2"), + @( + "24H2 (edk2-stable202411)", + @("Release", 0), + @("Debug", 1) + ), @( "24H1 (edk2-stable202405)", @("Release", 0), @@ -454,7 +462,9 @@ if ($Debug) { } elseif ($Cmd -and $GetUrl) { $Verbosity = 0 } -$PlatformArch = Get-Arch +if (!$PlatformArch) { + $PlatformArch = Get-Arch +} #endregion # Localization @@ -1073,8 +1083,8 @@ exit $ExitCode # SIG # Begin signature block # MIItPAYJKoZIhvcNAQcCoIItLTCCLSkCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCD6jbVu0UdrYfJb -# 8cK/D+0aQvT69PGzJ/i6VUytxeUOc6CCEkAwggVvMIIEV6ADAgECAhBI/JO0YFWU +# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBW4641oExc2Li+ +# R8MjLng+Yc3oW9s9v92HpNoDMS9k3aCCEkAwggVvMIIEV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usNqmfcls8we +# ULQC+jA3BgsqhkiG9w0BCRACLzEoMCYwJDAiBCB2dp+o8mMvH0MLOiMwrtZWdf7X +# c9sF1mW5BZOYQ4+a2zANBgkqhkiG9w0BAQEFAASCAgA+71TZvJSRS/R+RIBINFye +# 0NsNr4ODwMISXyNCaVmkkSx0ZrwysauyT4TjFfEHhEHTYdFi1+QHxfQjHmGI52GY +# HdTN50C/Icy9YSmRssFnqxcv1fjw57ORyqNY8U40KSaWEs/sWHab+rCd2fnlVeGY +# t+IyajmkYO98DECC+8JBHDpW/FG+k+avx/YRoHyjfXJFL4KPY/u3w+IdEf1YluM2 +# eBKK1cC3PAZJZwp9JCzpura5nqoNblZVHm0umahLRmg7IQP1rBxHnYAHzywXxWzb +# 94ufKc+xrKdnsVrvd/Yb5Wmq/rf2XKFJs0i19c2LOhUoNm/u9JzMr9SCoqDTmm4b +# jV7Xmll458jxVHNXw9c3pvykePan6CnODMep9sP297uxvHbgrwugWqGihDs0BMu9 +# nocghVhhhL5zQ4WyJS0hEaMv7EaZOArJAzZUjqXBohYuPjMcpZhvVojNepCKyRHQ +# YOT4KIQ1AKpMuHGSMyfezRCjaoKewg40Xnj2L6o9yPGW3TUg0LXih4efzSw9zlST +# Q/mxi0d+HQ+lwEHDCxPmbsRJbJMBjveAuce2sepT8DydpkhltMCImzRBJwSWoCzv +# pykblSwPL8j51/YfMleZIRkNojUyetKIVj346BWKcDLKFVN7rVcekQ40wfeNZGT4 +# PBooDJtw2GKgsSkAX1niNw== # SIG # End signature block