forked from SirDiazo/AGExt
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdeploy.bat
More file actions
26 lines (17 loc) · 635 Bytes
/
deploy.bat
File metadata and controls
26 lines (17 loc) · 635 Bytes
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
@echo off
rem H is the destination game folder
rem GAMEDIR is the name of the mod folder (usually the mod name)
rem GAMEDATA is the name of the local GameData
rem VERSIONFILE is the name of the version file, usually the same as GAMEDATA,
rem but not always
set H=%KSPDIR%
set H=R:\KSP_1.12.4
set GAMEDIR=AGExt
set GAMEDATA="GameData\Diazo"
set VERSIONFILE=%GAMEDIR%.version
set DP0=r:\dp0\kspdev
copy /Y "%1%2" "%GAMEDATA%\%GAMEDIR%\Plugins"
copy /Y "%1%3".pdb "%GAMEDATA%\%GAMEDIR%\Plugins"
copy /Y %VERSIONFILE% %GAMEDATA%\%GAMEDIR%
xcopy /y /s /I %GAMEDATA% "%H%\%GAMEDATA%"
xcopy /y /s /I %GAMEDATA% "%DP0%\%GAMEDATA%"