forked from shadowmage45/SSTULabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newPack.bat
38 lines (38 loc) · 1.3 KB
/
newPack.bat
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
30
31
32
33
34
35
36
37
38
rd Build /s /q
md Build
md Build\Source
md Build\Source\Plugin
md Build\Source\Shaders
md Build-PBR
md Build-PBR\GameData
rd GameData\KSPWheel /s /q
rd GameData\000_TexturesUnlimited /s /q
cd..
cd KSPWheel
git checkout master
xcopy GameData ..\SSTULabs\GameData /e /i
git checkout dev
cd..
cd TexturesUnlimited
xcopy GameData ..\SSTULabs\GameData /e /i
cd..
cd SSTULabs
xcopy GameData Build\GameData /e /i
copy LICENSE-ASSETS.txt Build\GameData\LICENSE-ASSETS.txt
copy LICENSE-SOURCE.txt Build\GameData\LICENSE-SOURCE.txt
copy Installation_Instructions.txt Build\Installation_Instructions.txt
xcopy Plugin\SSTUTools\SSTUTools Build\Source\Plugin /e /i
rd Build\Source\Plugin\bin /s /q
rd Build\Source\Plugin\libs /s /q
rd Build\Source\Plugin\obj /s /q
rd Build\GameData\SSTU-OptionalPatches /s /q
rd Build\GameData\SSTU-TextureSets /s /q
move Build\GameData\SSTU-PBR Build-PBR\GameData\SSTU-PBR
rd Build\GameData\SSTU-PBR /s /q
del Build\Source\Plugin\.gitignore
del Build\Source\Plugin\SSTUTools.csproj
del Build\Source\Plugin\SSTUTools.csproj.user
xcopy CustomShaders Build\Source\Shaders
rem powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('Build', '../SSTU.zip'); }"
rem rd build /s /q
rem pause