Skip to content

Commit b3f9726

Browse files
committed
Automatically run ckan update when restoring
1 parent 1957c40 commit b3f9726

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file
44

5+
## Unreleased
6+
7+
### Msbuild
8+
9+
- Automatically run `ckan update` when restoring
10+
11+
512
## 1.0.1 - 2025-11-25
613

714
### Msbuild

KSPCommon.targets

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@
139139
</Target>
140140

141141

142-
143142
<!-- Generate script to run to install CKAN dependencies -->
144143
<PropertyGroup>
145144
<_CKANScript>$(BaseIntermediateOutputPath)ckancommands.cache</_CKANScript>
@@ -156,6 +155,7 @@
156155
</PropertyGroup>
157156
<ItemGroup>
158157
<!-- Not using `ckan compat set` because as of 2024-08-16 it is still only available in the dev branch -->
158+
<_CKANCommands Include="update" />
159159
<_CKANCommands Include="compat add --gamedir &quot;$(KSPBT_GameRoot)&quot; %(_CKANCompatibleVersionItems.Identity)"
160160
Condition=" '$(KSPBT_CKANCompatibleVersions)' != '' "/>
161161

@@ -244,7 +244,6 @@
244244
</Target>
245245

246246

247-
248247
<!-- Target to generate the KSP version json file for AVC/CKAN etc-->
249248
<Target Name="KSPBT_GenerateVersionFile" AfterTargets="Build"
250249
Inputs="@(KSPVersionFile);$(FileVersion)" Outputs="%(KSPVersionFile.destination)"

0 commit comments

Comments
 (0)