From a2db8ed5213bdf750e95384a9f428595fc0239db Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 25 Aug 2024 14:09:58 +0200 Subject: [PATCH] typooo --- windows/installers/vencord.bat | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/windows/installers/vencord.bat b/windows/installers/vencord.bat index 296e44a..b7e7e23 100644 --- a/windows/installers/vencord.bat +++ b/windows/installers/vencord.bat @@ -13,17 +13,15 @@ SET "vencord=%TEMP%\vencord.exe" ECHO Download Vencord PowerShell -Command "" ^ "$link = 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe';" ^ - "$outfile = Join-Path -Path $env:TEMP -ChildPath '!vencord!';" ^ - "Invoke-WebRequest -Uri $link -OutFile $outfile" + "Invoke-WebRequest -Uri $link -OutFile '!vencord!'" ECHO Reclose Discord TASKKILL /im Discord.exe /F ECHO Install Vencord PowerShell -Command "" ^ - "$outfile = Join-Path -Path $env:TEMP -ChildPath '!vencord!';" ^ - "Start-Process -Wait -NoNewWindow $outfile '-install', '-location !discord_dir!';" ^ - "Remove-Item -Force $outfile" + "Start-Process -Wait -NoNewWindow '!vencord!' '-install', '-location !discord_dir!';" ^ + "Remove-Item -Force '!vencord!'" IF NOT "%1"=="yes" ( :: Restart Discord