forked from MS2Community/Maple2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
16 lines (14 loc) · 700 Bytes
/
start.bat
File metadata and controls
16 lines (14 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@echo off
dotnet build
where wt >nul 2>&1
if %errorlevel%==0 (
wt -d "Maple2.Server.World" --title "World Server" dotnet run --no-build ; ^
nt -d "Maple2.Server.Login" --title "Login Server" dotnet run --no-build ; ^
nt -d "Maple2.Server.Web" --title "Web Server" dotnet run --no-build ; ^
nt -d "Maple2.Server.Game" --title "Game Server" dotnet run --no-build
) else (
start "World Server" /d "Maple2.Server.World" cmd /k dotnet run --no-build
start "Login Server" /d "Maple2.Server.Login" cmd /k dotnet run --no-build
start "Web Server" /d "Maple2.Server.Web" cmd /k dotnet run --no-build
start "Game Server" /d "Maple2.Server.Game" cmd /k dotnet run --no-build
)