Atualizacao Pilot_Install
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user