mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-02 11:03:30 -05:00
add somewhat of a lang support (needs improvement)
This commit is contained in:
@ -86,7 +86,7 @@ function Invoke-WPFGetIso {
|
||||
|
||||
# TODO: Have to correct the language to actually be a working one
|
||||
Set-Location -Path $env:temp
|
||||
& $fidopath -Win 'Windows 11' -Rel $sync["ISORelease"].SelectedItem -Arch "x64"
|
||||
& $fidopath -Win 'Windows 11' -Rel $sync["ISORelease"].SelectedItem -Arch "x64" -Lang "$(Get-FidoLangFromCulture -langName `"$($sync.ISOLanguage.SelectedItem)`")"
|
||||
Set-Location $originalLocation
|
||||
$filePath = Get-ChildItem -Path "$env:temp" -Filter "Win11*.iso" | Sort-Object LastWriteTime -Descending | Select-Object -First 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user