From be92b02ce81dddcbf6f2cad7d102f8be8144f6c0 Mon Sep 17 00:00:00 2001 From: zSoulweaver Date: Tue, 1 Dec 2015 11:52:34 +1000 Subject: [PATCH] Close discord when installing Simple edit to the bat to close Discord before installing so the errors won't pop up. --- NodeInstaller/install.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NodeInstaller/install.bat b/NodeInstaller/install.bat index 9e41f27a..9e5f1d5e 100644 --- a/NodeInstaller/install.bat +++ b/NodeInstaller/install.bat @@ -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 \ No newline at end of file +exit