mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-12-17 17:55:28 +00:00
Remove mentions of Windows 11 Edition and pull latest (#3598)
This commit is contained in:
parent
7db0b8a857
commit
dff974144f
@ -73,7 +73,7 @@ function Invoke-MicrowinGetIso {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Invoke-MicrowinBusyInfo -action "wip" -message "Downloading Windows ISO... (This may take a long time)" -interactive $false
|
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 $?)
|
if (-not $?)
|
||||||
{
|
{
|
||||||
Write-Host "Could not download the ISO file. Look at the output of the console for more information."
|
Write-Host "Could not download the ISO file. Look at the output of the console for more information."
|
||||||
|
|||||||
@ -359,18 +359,13 @@ $sync["Form"].Add_ContentRendered({
|
|||||||
|
|
||||||
# Add event handlers for the RadioButtons
|
# Add event handlers for the RadioButtons
|
||||||
$sync["ISOdownloader"].add_Checked({
|
$sync["ISOdownloader"].add_Checked({
|
||||||
$sync["ISORelease"].Visibility = [System.Windows.Visibility]::Visible
|
|
||||||
$sync["ISOLanguage"].Visibility = [System.Windows.Visibility]::Visible
|
$sync["ISOLanguage"].Visibility = [System.Windows.Visibility]::Visible
|
||||||
})
|
})
|
||||||
|
|
||||||
$sync["ISOmanual"].add_Checked({
|
$sync["ISOmanual"].add_Checked({
|
||||||
$sync["ISORelease"].Visibility = [System.Windows.Visibility]::Collapsed
|
|
||||||
$sync["ISOLanguage"].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
|
$sync["ISOLanguage"].Items.Add("System Language ($(Microwin-GetLangFromCulture -langName $((Get-Culture).Name)))") | Out-Null
|
||||||
if ($currentCulture -ne "English International") {
|
if ($currentCulture -ne "English International") {
|
||||||
$sync["ISOLanguage"].Items.Add("English International") | Out-Null
|
$sync["ISOLanguage"].Items.Add("English International") | Out-Null
|
||||||
|
|||||||
@ -1394,7 +1394,6 @@
|
|||||||
/>
|
/>
|
||||||
<RadioButton x:Name="ISOmanual" Content="Select your own ISO" GroupName="Options" Margin="0,10,0,0" IsChecked="True"/>
|
<RadioButton x:Name="ISOmanual" Content="Select your own ISO" GroupName="Options" Margin="0,10,0,0" IsChecked="True"/>
|
||||||
<RadioButton x:Name="ISOdownloader" Content="Get newest ISO automatically" GroupName="Options" Margin="0,5,0,5"/>
|
<RadioButton x:Name="ISOdownloader" Content="Get newest ISO automatically" GroupName="Options" Margin="0,5,0,5"/>
|
||||||
<ComboBox x:Name="ISORelease" Visibility="Collapsed"/>
|
|
||||||
<ComboBox x:Name="ISOLanguage" Visibility="Collapsed"/>
|
<ComboBox x:Name="ISOLanguage" Visibility="Collapsed"/>
|
||||||
<Button Name="WPFGetIso" Margin="2" Padding="15">
|
<Button Name="WPFGetIso" Margin="2" Padding="15">
|
||||||
<Button.Content>
|
<Button.Content>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user