Nexus-Mods / NexusMods.App

Home of the development of the Nexus Mods App
https://nexus-mods.github.io/NexusMods.App/
GNU General Public License v3.0
1.11k stars 53 forks source link

FOMOD installer: tell users if the fomod script contains impossible combinations #616

Open Al12rs opened 1 year ago

Al12rs commented 1 year ago

FOMOD can define groups with specific selection requirements, such as ExactlyOne or AtLeastOne etc. It can also define Required option (options can be conditionally required as well), potentially creating impossible combinations such as:

These situations need to be communicated to the user in some way. It's debatable whether the App should allow users to ignore the requirements and install anyways.

BellCubeDev commented 1 year ago

Additional cases:

erri120 commented 1 year ago

Some installers have only one option in a group, but that group is marked as either "exactly one" or "at least one" and the option isn't marked as required. This isn't "impossible" but something where I updated our code to force the single option to be of type "required" even if the original installer doesn't: f01ae9f91f362a0ec70a884534302a20b6f22d97