mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-26 00:31:49 +01:00
getAndroid.ps1: Silently continue if it cant remove the tmp folder
This commit is contained in:
parent
fd46727f8e
commit
1aa3b76934
@ -3,7 +3,7 @@ if ($(Split-Path -Path (Get-Location) -Leaf) -eq "AndroidCompat" ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Output "Getting required Android.jar..."
|
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
|
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
|
$androidEncoded = (Invoke-WebRequest -Uri "https://android.googlesource.com/platform/prebuilts/sdk/+/3b8a524d25fa6c3d795afb1eece3f24870c60988/27/public/android.jar?format=TEXT").content
|
||||||
|
Loading…
Reference in New Issue
Block a user