Skip to content

Commit

Permalink
1.2.7528 review
Browse files Browse the repository at this point in the history
  • Loading branch information
DingoDjango committed Aug 15, 2020
1 parent 2942dd0 commit e2a150d
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion About/Manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>GrenadeFixRearmed</identifier>
<version>1.2.2723.1</version>
<version>1.2.7528.1</version>
<manifestUri>https://raw.githubusercontent.com/DingoDjango/GrenadeFixRearmed/master/About/Manifest.xml</manifestUri>
<downloadUri>https://github.com/DingoDjango/GrenadeFixRearmed/releases/latest</downloadUri>
</Manifest>
2 changes: 1 addition & 1 deletion About/ModSync.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ModSyncNinjaData>
<ID>da171c68-9c33-4948-b0db-df88fb5030d4</ID>
<ModName>Grenade Fix: Rearmed</ModName>
<Version>1.2.2723.1</Version>
<Version>1.2.7528.1</Version>
<SaveBreaking>False</SaveBreaking>
<Host name="Github">
<Owner>DingoDjango</Owner>
Expand Down
Binary file modified Current/Assemblies/Grenade Fix Rearmed.dll
Binary file not shown.
30 changes: 18 additions & 12 deletions Grenade Fix Rearmed.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,10 @@
<Content Include="About\About.xml" />
<Content Include="About\Manifest.xml" />
<Content Include="About\ModSync.xml" />
<Content Include="About\Preview.png" />
<Content Include="About\PublishedFileId.txt" />
</ItemGroup>
<ItemGroup>
<Content Include="LoadFolders.xml" />
</ItemGroup>
<ItemGroup>
<Folder Include="Current\Assemblies\" />
</ItemGroup>
<ItemGroup>
<Compile Include="Main.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand All @@ -110,13 +105,24 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>mkdir "C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\$(ProjectName)"
xcopy "$(ProjectDir)1.0" "C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\$(ProjectName)\1.0" /i /e /r /y
xcopy "$(ProjectDir)1.1" "C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\$(ProjectName)\1.1" /i /e /r /y
xcopy "$(ProjectDir)About" "C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\$(ProjectName)\About" /i /e /r /y
xcopy "$(ProjectDir)Current" "C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\$(ProjectName)\Current" /i /e /r /y
xcopy "$(ProjectDir)LoadFolders.xml" "C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\$(ProjectName)" /r /y

<PostBuildEvent>SET MODDIR=C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\$(ProjectName)
SET ZIPFILE=D:\Downloads\$(ProjectName).zip

mkdir "%25MODDIR%25"

xcopy "$(ProjectDir)1.0" "%25MODDIR%25\1.0" /i /e /r /y
xcopy "$(ProjectDir)1.1" "%25MODDIR%25\1.1" /i /e /r /y

xcopy "$(ProjectDir)About" "%25MODDIR%25\About" /i /e /r /y

xcopy "$(ProjectDir)Current" "%25MODDIR%25\Current" /i /e /r /y

xcopy "$(ProjectDir)LoadFolders.xml" "%25MODDIR%25" /r /y



7z a -mx9 "%25ZIPFILE%25" "%25MODDIR%25"

cd $(ProjectDir)
del /f /s /q bin
del /f /s /q obj
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.2.2723.1")]
[assembly: AssemblyFileVersion("1.2.2723.1")]
[assembly: AssemblyVersion("1.2.7528.1")]
[assembly: AssemblyFileVersion("1.2.7528.1")]

0 comments on commit e2a150d

Please sign in to comment.