little fix

This commit is contained in:
MyDrift
2024-08-19 06:15:06 +02:00
parent 86a0b9bd03
commit 0ee9972edf
3 changed files with 34 additions and 9 deletions

View File

@ -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)"