typooo
This commit is contained in:
parent
2268ab0d8b
commit
a2db8ed521
1 changed files with 3 additions and 5 deletions
|
@ -13,17 +13,15 @@ SET "vencord=%TEMP%\vencord.exe"
|
||||||
ECHO Download Vencord
|
ECHO Download Vencord
|
||||||
PowerShell -Command "" ^
|
PowerShell -Command "" ^
|
||||||
"$link = 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe';" ^
|
"$link = 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe';" ^
|
||||||
"$outfile = Join-Path -Path $env:TEMP -ChildPath '!vencord!';" ^
|
"Invoke-WebRequest -Uri $link -OutFile '!vencord!'"
|
||||||
"Invoke-WebRequest -Uri $link -OutFile $outfile"
|
|
||||||
|
|
||||||
ECHO Reclose Discord
|
ECHO Reclose Discord
|
||||||
TASKKILL /im Discord.exe /F
|
TASKKILL /im Discord.exe /F
|
||||||
|
|
||||||
ECHO Install Vencord
|
ECHO Install Vencord
|
||||||
PowerShell -Command "" ^
|
PowerShell -Command "" ^
|
||||||
"$outfile = Join-Path -Path $env:TEMP -ChildPath '!vencord!';" ^
|
"Start-Process -Wait -NoNewWindow '!vencord!' '-install', '-location !discord_dir!';" ^
|
||||||
"Start-Process -Wait -NoNewWindow $outfile '-install', '-location !discord_dir!';" ^
|
"Remove-Item -Force '!vencord!'"
|
||||||
"Remove-Item -Force $outfile"
|
|
||||||
|
|
||||||
IF NOT "%1"=="yes" (
|
IF NOT "%1"=="yes" (
|
||||||
:: Restart Discord
|
:: Restart Discord
|
||||||
|
|
Loading…
Reference in a new issue