Home

xmn / bettertrumpet

publicxammen/BetterTrumpet· sync paused
Overview Code History Branches Pull requestsIssuesInsights
master
HomeOverview Code PRsIssues

feat(v3): add Portable mode - JSON settings, zero registry writes

6 months ago

affa9d4
Authored
xammen3/16/2026, 3:05:22 PM
- New JsonFileSettingsBag: stores settings in ./config/settings.json
- StorageFactory detects 'portable.marker' file next to exe
- If portable.marker exists: JSON file backend, no registry
- If not: normal Registry/WindowsStorage backend (unchanged)
- Portable mode can run from USB stick with zero system footprint
- Thread-safe with lock, auto-creates config/ directory

Parent7921f57

3 files changed
  • EarTrumpet/DataModel/Storage/Internal/JsonFileSettingsBag.cs+137−0
  • EarTrumpet/DataModel/Storage/StorageFactory.cs+28−2
  • EarTrumpet/EarTrumpet.csproj+1−0