Files
OrangeX-Client/OrangeX
xiaozhou233 8f314e1f5c Feat: Persist module settings to named config files
- Add ConfigManager, Config and ConfigSerializer with JSON storage,
  validated names, sorted listings and atomic temp-file writes
- Serialize module enabled state and typed values; ignore unknown or
  invalid entries so a malformed file cannot break a module
- Track dirty state from value and module changes, then save on GUI
  close and JVM shutdown instead of only when the GUI is closed
- Remember the last loaded config and refuse to delete the active one
- Snapshot in-memory state before loading and roll back on failure;
  back up unreadable files so the client still has a writable config
- Key modules by class name while still reading legacy display-name
  configs, so renaming a module keeps its stored settings
- Initialise the config manager during OrangeX startup
2026-11-10 20:53:48 +08:00
..