WolvenKit / gpm

gpm or Game Package Manager is a tool for downloading, installing, uninstalling, building, and publishing mod packages
GNU Affero General Public License v3.0
7 stars 3 forks source link

added the ability to load mod with partial metadata #8

Closed marius851000 closed 3 years ago

marius851000 commented 3 years ago

Example error message: image

marius851000 commented 3 years ago

We could add color for each identifier too.

marius851000 commented 3 years ago

Implementation detail: Every field of a PackageInformation is now optional. PackageInformation have a function get_required_publish_information, that return a RequiredPublishInformation, containing a copy of the required field that can be accesed without test/unwrapping. If any of the required field is undefined, it instead return a MissingPublishFieldError error (this one shouldn't get transformed into a GPMError or similar), that list every missing required field.

marius851000 commented 3 years ago

Updated error message, too: image