diff --git a/tool/Install-Office.ps1 b/tool/Install-Office.ps1 index eb2405a..9de79fd 100644 --- a/tool/Install-Office.ps1 +++ b/tool/Install-Office.ps1 @@ -31,7 +31,9 @@ function Install-Office { try { Write-StyledMessage -Type 'Info' -Text "🏢 Avvio installazione Office Basic." - if (-not (Test-Path $tempDir)) { $null = New-Item -ItemType Directory -Path $tempDir -Force } + if (-not (Test-Path $tempDir)) { + $null = New-Item -ItemType Directory -Path $tempDir -Force + } $setupPath = Join-Path $tempDir 'Setup.exe' $configPath = Join-Path $tempDir 'Basic.xml'