diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-01 12:52:10 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-01 12:52:10 -0500 |
| commit | 1f198921b2c1f23f132d25552cacb650af253d15 (patch) | |
| tree | 90833b0b7c70486a33f68352a99a6b682a0f15d2 /libs/plugin_python/vcpkg.json | |
| parent | 95b1cb12c3f5604c865603e951646098f7cd593b (diff) | |
meta.ini: lowercase code keys to match normalize, kill dup writes
normalizeMetaIniCase folds keys to lowercase, but readMeta/saveMeta and
the install paths still used CamelCase ("installationFile", "gameName",
"nexusDescription", etc.). Qt6 IniFormat is case-sensitive on Linux, so
setValue under CamelCase wrote a NEW key alongside the lowercase entry
left by normalize, and value() reads with CamelCase missed the lowercase
key and fell back to defaults — saveMeta then persisted those defaults
under CamelCase. Net effect: every save grew meta.ini by ~12 duplicate
lines (e.g. installationFile= + installationfile=<real value>;
gameName=SkyrimSE + gamename=Skyrim).
Lowercased all per-mod meta.ini key names in modinforegular.cpp,
installationmanager.cpp, and organizercore.cpp. Section/group names
(installedFiles, Plugins, INI Tweaks) stay CamelCase because normalize
preserves section headers verbatim.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/vcpkg.json')
0 files changed, 0 insertions, 0 deletions
