Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move/add settings to a readable file #1960

Closed
Destroy666x opened this issue Jul 21, 2022 · 2 comments · Fixed by #2501
Closed

Move/add settings to a readable file #1960

Destroy666x opened this issue Jul 21, 2022 · 2 comments · Fixed by #2501

Comments

@Destroy666x
Copy link

Destroy666x commented Jul 21, 2022

Is your feature request related to a problem? Please describe.
Backing up/recovering specific elements of the app, such as settings, is not easy. Neither modifying a specific element with code/automatic setup.

Describe the solution you'd like
Move/add at least the global app settings to a file that's easy to read and write into, like config.json that's available in the configuration folder, but contains nothing useful.

Describe alternatives you've considered
An alternative is adding some HKCU\SOFTWARE registry entries like some other apps do. IndexedDB, which I assume is used, is not really the best option IMO, at least not for the portability of the app. If it's more optimal, which I don't really know, prioritizing the file/registry and reading from them to IndexedDB at launch is also an option.

@Destroy666x Destroy666x changed the title Move settings to a readable file Move/add settings to a readable file Jul 22, 2022
@imolorhe
Copy link
Collaborator

Hey @Destroy666x, could you explain your use case a bit more?

@Destroy666x
Copy link
Author

The use case is easiness of backing up the program's setup and/or reading/modifying specific settings with automation as explained. What kind of details would you like to see? For example, if I were to write an app that backups all programs and lets you install them on 50 machines with let's say 1 setting modified on 20 machines, reading/writing to a settings file or registry entry would be much more preferred. Lots of apps save their settings to .json/.xml/.ini/.conf/similar files or in HKCU\SOFTWARE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants