fix vencord installer

This commit is contained in:
Mylloon 2024-01-23 08:42:05 +01:00
parent 5981d9a1f6
commit 5b1f1cbbd6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -12,8 +12,7 @@ PowerShell -Command "" ^
"$file = 'vencord.exe';" ^
"$outfile = Join-Path -Path $env:TEMP -ChildPath $file;" ^
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
"cd $env:TEMP;" ^
"ECHO 1| & $outfile -install"
"Start-Process -NoNewWindow $outfile '-install'"
IF NOT "%1"=="yes" (
:: Restart Discord