diff --git a/functions/microwin/Invoke-MicrowinGetIso.ps1 b/functions/microwin/Invoke-MicrowinGetIso.ps1 index 938f349f..420ddd38 100644 --- a/functions/microwin/Invoke-MicrowinGetIso.ps1 +++ b/functions/microwin/Invoke-MicrowinGetIso.ps1 @@ -73,7 +73,7 @@ function Invoke-MicrowinGetIso { } Invoke-MicrowinBusyInfo -action "wip" -message "Downloading Windows ISO... (This may take a long time)" -interactive $false - & $fidopath -Win 'Windows 11' -Rel $sync["ISORelease"].SelectedItem -Arch "x64" -Lang $lang -Ed "Windows 11 Home/Pro/Edu" + & $fidopath -Win 'Windows 11' -Rel Latest -Arch "x64" -Lang $lang if (-not $?) { Write-Host "Could not download the ISO file. Look at the output of the console for more information." diff --git a/scripts/main.ps1 b/scripts/main.ps1 index ffaca97f..47b3b339 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -359,18 +359,13 @@ $sync["Form"].Add_ContentRendered({ # Add event handlers for the RadioButtons $sync["ISOdownloader"].add_Checked({ - $sync["ISORelease"].Visibility = [System.Windows.Visibility]::Visible $sync["ISOLanguage"].Visibility = [System.Windows.Visibility]::Visible }) $sync["ISOmanual"].add_Checked({ - $sync["ISORelease"].Visibility = [System.Windows.Visibility]::Collapsed $sync["ISOLanguage"].Visibility = [System.Windows.Visibility]::Collapsed }) -$sync["ISORelease"].Items.Add("24H2") | Out-Null -$sync["ISORelease"].SelectedItem = "24H2" - $sync["ISOLanguage"].Items.Add("System Language ($(Microwin-GetLangFromCulture -langName $((Get-Culture).Name)))") | Out-Null if ($currentCulture -ne "English International") { $sync["ISOLanguage"].Items.Add("English International") | Out-Null diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 67a9f200..25ac88e1 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -1394,7 +1394,6 @@ /> -