diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-13 18:24:40 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-13 18:24:40 -0500 |
| commit | 0770a18d6968c464f175eae1fa129b0a3fbf8438 (patch) | |
| tree | 7f5508ca294ed80d211ab27785ee2c7d27ac5560 /libs/plugin_python/CMakePresets.json | |
| parent | 145fc7f610cc4607c42ad55c37317bdd93223fbf (diff) | |
Sync plugins.txt/loadorder.txt back from prefix after tool run
LOOT (and any other tool that edits the plugin list) writes to the
deployed copies in the Wine prefix AppData. afterRun was syncing
saves and INIs back but not plugins, so LOOT's reordering was
silently reverted by savePluginList() writing the old in-memory
order on top of the untouched profile file.
Add WinePrefix::syncPluginsBack that picks the newest case variant
of plugins.txt and loadorder.txt from the prefix and copies them
back to the profile. Run it in afterRun alongside the existing
save/INI sync. For FileTime-based games (Skyrim LE, FO3, FNV) the
loadorder.txt removal now happens after the sync, so the file-time
fallback still works.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/CMakePresets.json')
0 files changed, 0 insertions, 0 deletions
