Fixed some more indentation

This commit is contained in:
CodingWonders 2024-12-29 08:47:26 +01:00
parent d2db3bec53
commit c977182771

View File

@ -189,7 +189,7 @@ function Invoke-MicrowinGetIso {
$sync.MicrowinScratchDirBox.Text ="" $sync.MicrowinScratchDirBox.Text =""
} }
$UseISOScratchDir = $sync.WPFMicrowinISOScratchDir.IsChecked $UseISOScratchDir = $sync.WPFMicrowinISOScratchDir.IsChecked
if ($UseISOScratchDir) { if ($UseISOScratchDir) {
$sync.MicrowinScratchDirBox.Text=$mountedISOPath $sync.MicrowinScratchDirBox.Text=$mountedISOPath
@ -220,8 +220,8 @@ function Invoke-MicrowinGetIso {
$sync.BusyText.Text=" - Mounting" $sync.BusyText.Text=" - Mounting"
Write-Host "Mounting Iso. Please wait." Write-Host "Mounting Iso. Please wait."
if ($sync.MicrowinScratchDirBox.Text -eq "") { if ($sync.MicrowinScratchDirBox.Text -eq "") {
$mountDir = Join-Path $env:TEMP $randomMicrowin $mountDir = Join-Path $env:TEMP $randomMicrowin
$scratchDir = Join-Path $env:TEMP $randomMicrowinScratch $scratchDir = Join-Path $env:TEMP $randomMicrowinScratch
} else { } else {
$scratchDir = $sync.MicrowinScratchDirBox.Text+"Scratch" $scratchDir = $sync.MicrowinScratchDirBox.Text+"Scratch"
$mountDir = $sync.MicrowinScratchDirBox.Text+"micro" $mountDir = $sync.MicrowinScratchDirBox.Text+"micro"