Skip to content

✨ Disable unlisted MODs by default in mod sync#71

Merged
sakuro merged 1 commit intomainfrom
feature/mod-sync-disable-mods-not-listed-in-save-file-by-default
Feb 26, 2026
Merged

✨ Disable unlisted MODs by default in mod sync#71
sakuro merged 1 commit intomainfrom
feature/mod-sync-disable-mods-not-listed-in-save-file-by-default

Conversation

@sakuro
Copy link
Owner

@sakuro sakuro commented Feb 25, 2026

Summary

mod sync now disables enabled MODs (including expansion MODs) not listed in the save file by default, preventing dangling MODs when switching save files.

Changes

  • Add --keep-unlisted flag to preserve MODs not in the save file (opt-out of new behavior)
  • Disable regular and expansion MODs absent from the save file by default

Before

MODs not present in the save file were left untouched, resulting in enabled MODs with no dependents (e.g., syncing a Space Age save disabled Krastorio2 via conflict resolution, but its dependency ChangeInserterDropeLane remained enabled).

After

All enabled MODs not listed in the save file are disabled, including expansion MODs (e.g., space-age, quality). Use --keep-unlisted to preserve previous behavior.

Closes #70

- Add --keep-unlisted flag to preserve MODs not in the save file
- Disable regular and expansion MODs absent from the save file by default
@sakuro sakuro merged commit 97cc113 into main Feb 26, 2026
5 checks passed
@sakuro sakuro deleted the feature/mod-sync-disable-mods-not-listed-in-save-file-by-default branch February 26, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mod sync: disable MODs not listed in save file by default

1 participant