confOS/windows/vencord_installer.bat

21 lines
588 B
Batchfile
Raw Normal View History

2023-08-11 14:27:37 +02:00
@ECHO OFF
ECHO Ferme Discord
TASKKILL /im Discord.exe /F
ECHO Installe Vencord
PowerShell -Command "$link = 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe';" ^
"$file = 'vencord.exe';" ^
"$outfile = Join-Path -Path $env:TEMP -ChildPath $file;" ^
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
"cd $env:TEMP;" ^
"ECHO 1| & $outfile -install"
2023-08-11 14:28:22 +02:00
IF NOT "%1"=="yes" (
2023-08-11 14:27:37 +02:00
:: Restart Discord
"%LOCALAPPDATA%\Discord\Update.exe"
PAUSE
)
EXIT /B