Skip to content

Change config life cycle to always write on change#253

Merged
mikker merged 3 commits intomainfrom
config-lifecycle
Sep 10, 2025
Merged

Change config life cycle to always write on change#253
mikker merged 3 commits intomainfrom
config-lifecycle

Conversation

@mikker
Copy link
Copy Markdown
Owner

@mikker mikker commented Sep 10, 2025

Instead of manually writing and auto-reading the config, this pr switches it around the other way. Meaning we always save changes when they happen and only read on app boot or when the user clicks a button.

If there's a conflict, ie. the config file has been updated but not loaded, the user is prompted to pick which version to go with.

@mikker mikker self-assigned this Sep 10, 2025
@mikker mikker merged commit 891b85b into main Sep 10, 2025
1 of 2 checks passed
@mikker mikker deleted the config-lifecycle branch September 10, 2025 18:44
unstrike pushed a commit to unstrike/Relay that referenced this pull request Mar 28, 2026
* Remove release script

* Rework config life cycle to always write

* Format
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.

1 participant