diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-16 14:24:35 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-16 14:24:35 -0500 |
| commit | 1d323579a0da7c2b22e0208e123907f849c99696 (patch) | |
| tree | 69f758bcb5bdc488d3944d279e1e633383f96540 /libs/plugin_python/src/mobase/wrappers/widgets.cpp | |
| parent | 7a865a8b757dc8aa5b521fce2d610fa52a86a9f1 (diff) | |
Stop writing loadorder.txt to prefix, propagate save deletions
deployPlugins now writes only the plugin-list file the game actually
reads (Plugins.txt for PluginsTxt games, lowercase plugins.txt for
FileTime games). loadorder.txt is MO2-internal and never belonged in
AppData/Local/<Game>/; previously writing a stale copy there defeated
LOOT's edits because syncPluginsBack pulled the stale loadorder.txt
back into the profile, and getLoadOrder() preferred it over the
freshly-synced plugins.txt.
syncSavesBack now mirrors deletions: files present in the profile but
absent from the prefix are removed before the copy pass. Without this,
saves the user deleted in-game stayed in the profile forever because
copyTreeContents only copies files that exist in the source.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/src/mobase/wrappers/widgets.cpp')
0 files changed, 0 insertions, 0 deletions
