Skip to content

Commit d84c357

Browse files
committed
Fix actions?
1 parent 6f00808 commit d84c357

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
##
44
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
55

6-
RMC/post-build.bat
6+
RMC/local-settings.bat
77

88
# User-specific files
99
*.suo

RMC/RMC.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@
124124
<ItemGroup>
125125
<None Include="Assets\Scenarios\Imperial Spacemarine Corps.rsc" />
126126
<None Include="Assets\Scenarios\Rimworld Mercenaries.rsc" />
127+
<None Include="local-settings.bat" />
127128
<None Include="post-build.bat" />
128-
<None Include="post-build.bat.example" />
129+
<None Include="local-settings.bat.example" />
129130
<None Include="packages.config" />
130131
</ItemGroup>
131132
<ItemGroup />

RMC/local-settings.bat.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
set RimWorldDir=C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
REM This can be changed if need be
2-
set RimWorldDir=C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods
31
set Version=1.2
42
set ConfigurationName=%1
53
set ProjectDir=%2
64

75
xcopy /yi .\RMC*.dll "RimWorld Military Colony\%Version%\Assemblies"
8-
echo "%ProjectDir%\Assets\XML"
96
xcopy /yei "%ProjectDir%\Assets\XML" "RimWorld Military Colony\%Version%"
107
xcopy /yei "%ProjectDir%\Assets\About" "RimWorld Military Colony\About"
118

129
REM If in debug then deploy to local rimworld install
1310
if "%ConfigurationName%" == "Debug" (
11+
call "%ProjectDir%\local-settings.bat"
1412
del /s /q "%RimWorldDir%\RimWorld Military Colony"
1513
xcopy /yei "RimWorld Military Colony" "%RimWorldDir%\RimWorld Military Colony"
1614
xcopy /yei "..\..\Assets\Scenarios" "%userprofile%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Scenarios"

0 commit comments

Comments
 (0)