mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-26 04:31:45 +00:00
bugfix: surround URL with quotes on Invoke-RestMethod
This commit is contained in:
parent
798e20b2c4
commit
231a5101d7
@ -42,7 +42,7 @@ if ($isRelease)
|
||||
{
|
||||
# Download release files from github as-is
|
||||
Write-Host "Downloading program into local directory..." -ForegroundColor Cyan
|
||||
Invoke-RestMethod https://github.com/Baipyrus/ProxySwitcher/releases/latest/download/ProxySwitcher.zip -OutFile $env:TMP
|
||||
Invoke-RestMethod "https://github.com/Baipyrus/ProxySwitcher/releases/latest/download/ProxySwitcher.zip" -OutFile $env:TMP
|
||||
|
||||
# Expand Archive to program directory
|
||||
Expand-Archive "$env:TMP\ProxySwitcher.zip" -DestinationPath $programPath
|
||||
|
Loading…
Reference in New Issue
Block a user