diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-01 23:12:44 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-01 23:12:44 -0500 |
| commit | 4a15d47e96ff5870bb9a1c2f52a7c41e4bf4b63b (patch) | |
| tree | e56d8c9e6eb4752175a0f1ec5864107a63554f2a /libs/plugin_python/CMakeLists.txt | |
| parent | 1f198921b2c1f23f132d25552cacb650af253d15 (diff) | |
meta.ini: revert to upstream CamelCase, canonicalize on read
Restore upstream MO2's exact key cases (gameName, installationFile,
nexusDescription, etc.) in readMeta/saveMeta/doInstall/createMod —
matches mod-shipped meta.ini cases, so on Linux Qt6's case-sensitive
QSettings IniFormat, setValue updates in place without producing a
duplicate key.
normalizeMetaIniCase() repurposed: instead of folding everything to
lowercase (which mismatched the upstream-style setValue calls and
caused the very dupes it was trying to fix), it now canonicalizes
known per-mod meta.ini keys to their upstream CamelCase, deduping
case-insensitive collisions per section. Cleans up dirty files
written during the 5d1fb29 -> 1f19892 window so they collapse to a
single canonical key per setting on first read.
Tests updated to assert canonical-CamelCase output.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions
