forked from linuxgurugamer/AutomatedScreenshots
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.bat
More file actions
34 lines (29 loc) · 671 Bytes
/
deploy.bat
File metadata and controls
34 lines (29 loc) · 671 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
27
28
29
30
31
32
33
34
Rem unusable line
set H=R:\KSP_1.2.2_dev
echo %H%
set d=%H%
if exist %d% goto one
mkdir %d%
:one
set d=%H%\Gamedata
if exist %d% goto two
mkdir %d%
:two
set d=%H%\Gamedata\AutomatedScreenShots
if exist %d% goto three
mkdir %d%
:three
set d=%H%\Gamedata\AutomatedScreenShots\Plugins
if exist %d% goto four
mkdir %d%
:four
set d=%H%\Gamedata\AutomatedScreenShots\Textures
if exist %d% goto five
mkdir %d%
:five
set d=%H%\Gamedata\AutomatedScreenShots\PluginData
if exist %d% goto six
mkdir %d%
:six
xcopy bin\Debug %H%\GameData\AutomatedScreenShots\Plugins\ /Y
xcopy src\Textures\* %H%\GameData\AutomatedScreenShots\Textures /Y