This commit is contained in:
Mylloon 2024-08-25 14:09:58 +02:00
parent 2268ab0d8b
commit a2db8ed521
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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