Close discord when installing

Simple edit to the bat to close Discord before installing so the errors won't pop up.
This commit is contained in:
zSoulweaver 2015-12-01 11:52:34 +10:00
parent 154bf90d58
commit be92b02ce8
1 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ if %errorlevel%==1 (
start "" "https://nodejs.org/dist/latest/win-x86/node.exe"
pause
) else (
cmd /k node.exe index.js
taskkill /f /im "Discord.exe" >nul 2>nul
cmd /k node.exe index.js
)
exit
exit