Files
OpenRA/mods/cnc/installer/covertops.yaml
RoosterDragon 578a9fe457 Fix mod content installers.
In 4312a4d3f4 MiniYaml merging was adjusted. One effect of this change was that duplicate keys in files that did not previously require merging was previously allowed, but was now an error. (Test case `TestMergeConflictsNoMerge`)

The installer files were relying on the previous behaviour to allow multiple `ContentPackage` keys. The above change caused a regression where attempting to manage mod content would crash due to now erroring on the duplicate keys.

We fix the issue by applying a unique ID suffix, as is a common pattern elsewhere in our yaml files, and teach InstallFromSourceLogic to recognise and strip it.
2024-08-03 12:10:08 +03:00

13 lines
380 B
YAML

covertops: Covert Operations Expansion (English)
Type: Disc
IDFiles:
GAME/GAME.DAT: be5a6c4c0a581da09e8f34a3bbf7bd17e525085c
CONQUER.MIX: 713b53fa4c188ca9619c6bbeadbfc86513704266
Install:
# Covert Operations music (optional):
ContentPackage@music-covertops:
Name: music-covertops
Actions:
Copy: .
^SupportDir|Content/cnc/scores-covertops.mix: SCORES.MIX