Grouped installer SourceActions by ContentPackage

ContentPackages are defined in mod.yaml and list Installers that support them, but then the Installers and their SourceActions knew nothing about ContentPackages.
Also added BeforeInstall and AfterInstall sections for SourceActions in the Installers.
This commit is contained in:
penev92
2023-02-21 18:01:19 +02:00
committed by Matthias Mailänder
parent 64e84554d3
commit d0285b058b
21 changed files with 3152 additions and 2704 deletions

View File

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