Files
OpenRA/mods/ra/installer/cnc95.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

12 lines
284 B
YAML

cnc95: C&C Gold (GDI or Nod Disc, English)
Type: Disc
IDFiles:
CONQUER.MIX: 833e02a09aae694659eb312d3838367f681d1b30
Install:
# C&C Desert Tileset:
ContentPackage@cncdesert:
Name: cncdesert
Actions:
Copy: .
^SupportDir|Content/ra/v2/cnc/desert.mix: DESERT.MIX