Skip to content

Commit

Permalink
Added "120" onto the end of the module folder and DLL to avoid the po…
Browse files Browse the repository at this point in the history
…ssibility of someone mixing files with the orignial version when installing.
  • Loading branch information
bmountney committed Apr 24, 2020
1 parent ef16629 commit c17dd83
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<RootNamespace>Aragas</RootNamespace>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<GameFolder>C:\Program Files (x86)\Steam\steamapps\common\Mount &amp; Blade II Bannerlord</GameFolder>
<AssemblyName>Aragas.SaveMissingModuleFix120</AssemblyName>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -52,7 +53,7 @@
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if not exist &quot;$(GameFolder)\Modules\$(ProjectName)&quot; mkdir &quot;$(GameFolder)\Modules\$(ProjectName)&quot;" />
<Exec Command="if not exist &quot;$(GameFolder)\Modules\$(AssemblyName)&quot; mkdir &quot;$(GameFolder)\Modules\$(AssemblyName)&quot;" />

<Copy SourceFiles="@(Libraries)" DestinationFiles="@(Libraries->'$(GameFolder)\Modules\$(ProjectName)\bin\Win64_Shipping_Client\%(RecursiveDir)%(Filename)%(Extension)')" />

Expand Down
2 changes: 1 addition & 1 deletion Aragas.SaveSystemFix.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29926.136
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Aragas.SaveMissingModuleFix", "Aragas.SaveMissingModuleFix.csproj", "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Aragas.SaveMissingModuleFix120", "Aragas.SaveMissingModuleFix120.csproj", "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
8 changes: 4 additions & 4 deletions _Data/SubModule.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Module>
<Name value="e1.2.0 Save Missing Module Fix" />
<Id value="Aragas.SaveMissingModuleFix" />
<Version value="v1.0.2" />
<Id value="Aragas.SaveMissingModuleFix120" />
<Version value="v1.2.0" />
<SingleplayerModule value="true" />
<MultiplayerModule value="false" />
<Official value="false" />
Expand All @@ -14,8 +14,8 @@
</DependedModules>
<SubModules>
<SubModule>
<Name value="Aragas.SaveMissingModuleFix" />
<DLLName value="Aragas.SaveMissingModuleFix.dll" />
<Name value="Aragas.SaveMissingModuleFix120" />
<DLLName value="Aragas.SaveMissingModuleFix120.dll" />
<SubModuleClassType value="Aragas.MountAndBlade.SaveMissingModuleFixSubModule" />
<Tags>
<Tag key="DedicatedServerType" value="none" />
Expand Down

0 comments on commit c17dd83

Please sign in to comment.