Calinou / scoop-games

Scoop bucket for open source/freeware games and game-related tools
Creative Commons Zero v1.0 Universal
293 stars 152 forks source link

[Bug]: pre_uninstall and post_uninstall fields missing from sortJSON lists in settings.json #1183

Closed mundifex closed 4 months ago

mundifex commented 4 months ago

Running the Sort JSON command against manifest containing either the pre_uninstall or post_uninstall fields may result in unintended modifications to a properly sorted manifest.

For example, running Sort JSON against bloxstrap.json moves the pre_uninstall block below autoupdate which does not adhere to the desired field order as described in CONTRIBUTING.md.

Adding these fields to the list of fields in settings.json should correct this issue.