forked from dreamanlan/CSharpGameFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopyserverdlls.bat
More file actions
29 lines (22 loc) · 1.03 KB
/
copyserverdlls.bat
File metadata and controls
29 lines (22 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
if NOT "%1" EQU "" (
set cfg=%1
) else (
set cfg=Debug
)
rem working directory
set workdir=%~dp0
set svrbin=%workdir%\App\ServerModule\ServerEnv\bin
xcopy %workdir%\App\ServerModule\Lobby\bin\%cfg%\*.exe %svrbin% /y /q
xcopy %workdir%\App\ServerModule\Lobby\bin\%cfg%\*.dll %svrbin% /y /q
xcopy %workdir%\App\ServerModule\Lobby\bin\%cfg%\*.pdb %svrbin% /y /q
xcopy %workdir%\App\ServerModule\UserServer\bin\%cfg%\*.exe %svrbin% /y /q
xcopy %workdir%\App\ServerModule\UserServer\bin\%cfg%\*.dll %svrbin% /y /q
xcopy %workdir%\App\ServerModule\UserServer\bin\%cfg%\*.pdb %svrbin% /y /q
xcopy %workdir%\App\ServerModule\RoomServer\bin\%cfg%\*.exe %svrbin% /y /q
xcopy %workdir%\App\ServerModule\RoomServer\bin\%cfg%\*.dll %svrbin% /y /q
xcopy %workdir%\App\ServerModule\RoomServer\bin\%cfg%\*.pdb %svrbin% /y /q
xcopy %workdir%\App\ServerModule\DataCache\bin\%cfg%\*.exe %svrbin% /y /q
xcopy %workdir%\App\ServerModule\DataCache\bin\%cfg%\*.dll %svrbin% /y /q
xcopy %workdir%\App\ServerModule\DataCache\bin\%cfg%\*.pdb %svrbin% /y /q
@pause