From d22119c80056e74a0a59a91937e98bab468d02d6 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 3 Jan 2017 16:25:28 +0100 Subject: [PATCH] Fixed stable build --- scripts/Stable.bat | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/scripts/Stable.bat b/scripts/Stable.bat index f617ac8b..f1e11147 100644 --- a/scripts/Stable.bat +++ b/scripts/Stable.bat @@ -4,9 +4,11 @@ TITLE Downloading NadekoBot, please wait SET root=%~dp0 CD /D %root% SET rootdir=%cd% -SET build1=%root%NadekoInstall_Temp\NadekoBot\discord.net\src\Discord.Net\ -SET build2=%root%NadekoInstall_Temp\NadekoBot\discord.net\src\Discord.Net.Commands\ -SET build3=%root%NadekoInstall_Temp\NadekoBot\src\NadekoBot\ +SET build1=%root%NadekoInstall_Temp\NadekoBot\Discord.Net\src\Discord.Net.Core\ +SET build2=%root%NadekoInstall_Temp\NadekoBot\Discord.Net\src\Discord.Net.Rest\ +SET build3=%root%NadekoInstall_Temp\NadekoBot\Discord.Net\src\Discord.Net.WebSocket\ +SET build4=%root%NadekoInstall_Temp\NadekoBot\Discord.Net\src\Discord.Net.Commands\ +SET build5=%root%NadekoInstall_Temp\NadekoBot\src\NadekoBot\ SET installtemp=%root%NadekoInstall_Temp\ ::Deleting traces of last setup for the sake of clean folders, if by some miracle it still exists IF EXIST %installtemp% ( RMDIR %installtemp% /S /Q >nul 2>&1) @@ -32,6 +34,10 @@ CD /D %build2% dotnet restore >nul 2>&1 CD /D %build3% dotnet restore >nul 2>&1 +CD /D %build4% +dotnet restore >nul 2>&1 +CD /D %build5% +dotnet restore >nul 2>&1 dotnet build --configuration Release >nul 2>&1 ::Attempts to backup old files if they currently exist in the same folder as the batch file IF EXIST "%root%NadekoBot\" (GOTO :backupinstall)