[Request] Store config in AppData #770

Closed
opened 2026-01-29 16:22:00 +00:00 by claunia · 1 comment
Owner

Originally created by @Deterous on GitHub (Dec 7, 2024).

Originally assigned to: @mnadareski on GitHub.

For MPF.UI at least, store the config.json file in appdata. MPF should prefer a config.json file in current directory if present, for people who have multiple MPF programs setup for whatever workflow.

This means the config will be persistent as users upgrade MPF, and typical users don't need to think about the config file at all.

Originally created by @Deterous on GitHub (Dec 7, 2024). Originally assigned to: @mnadareski on GitHub. For MPF.UI at least, store the config.json file in appdata. MPF should prefer a config.json file in current directory if present, for people who have multiple MPF programs setup for whatever workflow. This means the config will be persistent as users upgrade MPF, and typical users don't need to think about the config file at all.
claunia added the enhancement label 2026-01-29 16:22:00 +00:00
Author
Owner

@Deterous commented on GitHub (Dec 19, 2024):

b8e9232 is sufficient, $USER$\.config\mpf\config.json on windows.
Environment.SpecialFolder.ApplicationData would point to %AppData% but there's no functional difference.
It doesn't currently write to there by default (preferring local folder), but that's a design choice.

@Deterous commented on GitHub (Dec 19, 2024): b8e9232 is sufficient, `$USER$\.config\mpf\config.json` on windows. `Environment.SpecialFolder.ApplicationData` would point to %AppData% but there's no functional difference. It doesn't currently write to there by default (preferring local folder), but that's a design choice.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#770