From c35e4f22dd70b3de7f09b4e6c86514bcf22a8788 Mon Sep 17 00:00:00 2001 From: ScientiaSitPotentia Date: Sat, 26 Oct 2019 23:47:17 +0200 Subject: [PATCH] Update install.ps1 Adding the parameter -UseBasicParsing to Invoke-WebRequest fixes the error appearing when Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. --- install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index 16c30b0757..2eb17d2154 100644 --- a/install.ps1 +++ b/install.ps1 @@ -28,7 +28,7 @@ if (-not $version) { $latest_release_uri = "https://api.github.com/repos/khanhas/spicetify-cli/releases/latest" Write-Part "DOWNLOADING "; Write-Emphasized $latest_release_uri - $latest_release_json = Invoke-WebRequest -Uri $latest_release_uri + $latest_release_json = Invoke-WebRequest -Uri $latest_release_uri -UseBasicParsing Write-Done $version = ($latest_release_json | ConvertFrom-Json).tag_name -replace "v", "" @@ -47,7 +47,7 @@ $zip_file = "${sp_dir}\spicetify-${version}-windows-x64.zip" $download_uri = "https://github.com/khanhas/spicetify-cli/releases/download/" + "v${version}/spicetify-${version}-windows-x64.zip" Write-Part "DOWNLOADING "; Write-Emphasized $download_uri -Invoke-WebRequest -Uri $download_uri -OutFile $zip_file +Invoke-WebRequest -Uri $download_uri -UseBasicParsing -OutFile $zip_file Write-Done # Extract spicetify.exe and assets from .zip file.