Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod upgrade pipeline #91

Merged
merged 3 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GameData/KSPCommunityFixes/KSPCommunityFixes.version
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"NAME": "KSPCommunityFixes",
"URL": "https://raw.githubusercontent.com/KSPModdingLibs/KSPCommunityFixes/master/GameData/KSPCommunityFixes/KSPCommunityFixes.version",
"DOWNLOAD": "https://github.com/KSPModdingLibs/KSPCommunityFixes/releases",
"VERSION": {"MAJOR": 1, "MINOR": 21, "PATCH": 1, "BUILD": 0},
"VERSION": {"MAJOR": 1, "MINOR": 22, "PATCH": 0, "BUILD": 0},
"KSP_VERSION": {"MAJOR": 1, "MINOR": 12, "PATCH": 3},
"KSP_VERSION_MIN": {"MAJOR": 1, "MINOR": 8, "PATCH": 0},
"KSP_VERSION_MAX": {"MAJOR": 1, "MINOR": 12, "PATCH": 3}
Expand Down
5 changes: 5 additions & 0 deletions GameData/KSPCommunityFixes/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@ KSP_COMMUNITY_FIXES
// Fix Admin Building not using HeadImage if that is defined for a Department
DepartmentHeadImage = true

// Stores mod versions in sfs and craft files, and uses those versions for the SaveUpgradePipeline,
// so mods can do versioning based on their own version numbers and not have to always run their
// upgrade scripts.
ModUpgradePipeline = false

// ##########################
// Localization tools
// ##########################
Expand Down
2 changes: 2 additions & 0 deletions KSPCommunityFixes/KSPCommunityFixes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
<ItemGroup>
<Publicize Include="Assembly-CSharp" />
<DoNotPublicize Include="Assembly-CSharp:BaseField`1.OnValueModified" />
<DoNotPublicize Include="Assembly-CSharp:SaveUpgradePipeline.SaveUpgradePipeline.OnSetCfgNodeVersion" />
<Publicize Include="UnityEngine.CoreModule:UnityEngine.Object.m_CachedPtr" />
<Publicize Include="mscorlib:System.Reflection.Assembly.GetTypes" />
</ItemGroup>
Expand All @@ -99,6 +100,7 @@
<Compile Include="BugFixes\CometMiningNotRemovingMass.cs" />
<Compile Include="BugFixes\EnginePlateAirstreamShieldedTopPart.cs" />
<Compile Include="BugFixes\StrategyDuration.cs" />
<Compile Include="Modding\ModUpgradePipeline.cs" />
<Compile Include="Performance\AsteroidAndCometDrillCache.cs" />
<Compile Include="BugFixes\DoubleCurvePreserveTangents.cs" />
<Compile Include="Performance\CommNetThrottling.cs" />
Expand Down
Loading