From 4d5977476ce91de2f166f7924b1444e4987a6aa5 Mon Sep 17 00:00:00 2001 From: SuspiciousActivity <38253929+SuspiciousActivity@users.noreply.github.com> Date: Wed, 1 Jun 2022 19:52:21 +0200 Subject: [PATCH] fix if ie has not been started --- vallc.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vallc.ps1 b/vallc.ps1 index 6c3136c..6d26f08 100644 --- a/vallc.ps1 +++ b/vallc.ps1 @@ -31,7 +31,7 @@ if (!(Test-Path $savePath)) { try { Write-Host 'Fetching VALORANT config from Riot Games...' -ForegroundColor Green - $patchConfigs = (ConvertFrom-Json (Invoke-WebRequest -Uri 'https://clientconfig.rpg.riotgames.com/api/v1/config/public?namespace=keystone.products.valorant.patchlines').Content).'keystone.products.valorant.patchlines.live'.platforms.win.configurations + $patchConfigs = (ConvertFrom-Json (Invoke-WebRequest -UseBasicParsing -Uri 'https://clientconfig.rpg.riotgames.com/api/v1/config/public?namespace=keystone.products.valorant.patchlines').Content).'keystone.products.valorant.patchlines.live'.platforms.win.configurations } catch { Write-Host 'Error contacting Riot Games servers' -ForegroundColor Red Write-Host $_ @@ -175,7 +175,7 @@ if ($args.count -eq 0) { Write-Host 'Setting up all the files...' -ForegroundColor Green $psPath = $MyInvocation.MyCommand.Path Copy-Item $psPath (-join($savePath, 'vallc.ps1')) - Invoke-WebRequest -Uri $manifestDownloaderUrl -OutFile (-join($savePath, $manifestDownloaderFile)) + Invoke-WebRequest -UseBasicParsing -Uri $manifestDownloaderUrl -OutFile (-join($savePath, $manifestDownloaderFile)) Write-Host 'Done! You can now close this window and start VALORANT from the new icon on your desktop!' -ForegroundColor Green Write-Host 'You can also delete this file now.' -ForegroundColor Green