From 1aa3b7693400f848775eca0e5cbefcd796048739 Mon Sep 17 00:00:00 2001 From: Syer10 Date: Thu, 25 Mar 2021 16:47:30 -0400 Subject: [PATCH] getAndroid.ps1: Silently continue if it cant remove the tmp folder --- AndroidCompat/getAndroid.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AndroidCompat/getAndroid.ps1 b/AndroidCompat/getAndroid.ps1 index b778dca..56ba747 100644 --- a/AndroidCompat/getAndroid.ps1 +++ b/AndroidCompat/getAndroid.ps1 @@ -3,7 +3,7 @@ if ($(Split-Path -Path (Get-Location) -Leaf) -eq "AndroidCompat" ) { } Write-Output "Getting required Android.jar..." -Remove-Item -Recurse -Force "tmp" | Out-Null +Remove-Item -Recurse -Force "tmp" -ErrorAction SilentlyContinue | Out-Null New-Item -ItemType Directory -Force -Path "tmp" | Out-Null $androidEncoded = (Invoke-WebRequest -Uri "https://android.googlesource.com/platform/prebuilts/sdk/+/3b8a524d25fa6c3d795afb1eece3f24870c60988/27/public/android.jar?format=TEXT").content