forked from Aviuz/PrisonLabor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1. Copy and Run.bat
46 lines (30 loc) · 1.01 KB
/
1. Copy and Run.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
39
40
41
42
43
44
45
46
:: ========= Variables =========
SET mod_name=PrisonLabor
SET target_directory=D:\Program Files\Steam\steamapps\common\RimWorld\Mods\%mod_name%
:: ========= Copy ==========
rd "%target_directory%" /s /q
mkdir "%target_directory%"
:: About
mkdir "%target_directory%\About"
xcopy "About\*.*" "%target_directory%\About" /e
:: Assemblies
mkdir "%target_directory%\Assemblies"
xcopy "Assemblies\*.*" "%target_directory%\Assemblies" /e
:: Defs
mkdir "%target_directory%\Defs"
xcopy "Defs\*.*" "%target_directory%\Defs" /e
:: Languages
mkdir "%target_directory%\Languages"
xcopy "Languages\*.*" "%target_directory%\Languages" /e
:: Textures
mkdir "%target_directory%\Textures"
xcopy "Textures\*.*" "%target_directory%\Textures" /e
:: 1.0
mkdir "%target_directory%\1.0"
xcopy "1.0\*.*" "%target_directory%\1.0" /e
:: Load Folders
copy "LoadFolders.xml" "%target_directory%\LoadFolders.xml"
:: changelog.txt
copy "changelog.txt" "%target_directory%\changelog.txt"
:: ========= Run ==========
start steam://rungameid/294100