diff --git a/pilot_installer_utilities.ps1 b/pilot_installer_utilities.ps1 index ebfec0b..3436825 100644 --- a/pilot_installer_utilities.ps1 +++ b/pilot_installer_utilities.ps1 @@ -17,7 +17,7 @@ try { $scriptPath = $MyInvocation.MyCommand.Path if ($scriptPath -and (Test-Path -LiteralPath $scriptPath)) { Unblock-File -LiteralPath $scriptPath -ErrorAction SilentlyContinue -# ----- Remove-Item -LiteralPath "$scriptPath`:Zone.Identifier" -Force -ErrorAction SilentlyContinue + Remove-Item -LiteralPath "$scriptPath`:Zone.Identifier" -Force -ErrorAction SilentlyContinue } } catch {} @@ -145,7 +145,7 @@ try { if (Test-Path -LiteralPath $WorkDir) { Write-Info "Removendo diretório temporário antigo..." - Remove-Item -LiteralPath $WorkDir -Recurse -Force -ErrorAction SilentlyContinue + #Remove-Item -LiteralPath $WorkDir -Recurse -Force -ErrorAction SilentlyContinue } Ensure-Dir $WorkDir