mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-02 02:53:31 -05:00
little fix
This commit is contained in:
@ -78,12 +78,7 @@ function Invoke-WPFGetIso {
|
||||
}
|
||||
} elseif ($sync["ISOoption1"].IsChecked) {
|
||||
# Auto download newest ISO
|
||||
$Win = "Win11"
|
||||
$Rel = "23H2"
|
||||
$Outpath = "$env:TEMP\$Win" + "_$Rel.iso"
|
||||
Invoke-Webrequest -Uri $finalurl -OutFile $Outpath
|
||||
$filePath = $Outpath
|
||||
|
||||
$filePath = Invoke-WinUtilDownloadISO
|
||||
}
|
||||
|
||||
Write-Host "File path $($filePath)"
|
||||
|
Reference in New Issue
Block a user