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

[Enhancement] Custom location for user.config #17

Closed
gisturbance opened this issue Apr 25, 2023 · 2 comments
Closed

[Enhancement] Custom location for user.config #17

gisturbance opened this issue Apr 25, 2023 · 2 comments
Assignees
Labels
Enhancement Enhancement of existing functionality Feature New feature or request

Comments

@gisturbance
Copy link

🚀 Enhancement Request

Is your enhancement request related to a problem? Please describe.

The software is already portable, but the user.config file resides under %appdata%, defeating the purpose of being portable.


Describe the solution you'd like

Store the user.config file in the same directory as the executable, or provide a setting to define its location.


Describe alternatives you've considered

Maybe a symlink or copying the user.config after every change to your favored destination.

@SoulRipper888
Copy link

+1, would be a nice improvement.

@DJDoubleD DJDoubleD self-assigned this Aug 14, 2023
@DJDoubleD DJDoubleD added Feature New feature or request Enhancement Enhancement of existing functionality labels Aug 14, 2023
@DJDoubleD
Copy link
Owner

Found a simple solution using a Portable SettingsProvider.
Since it offers the choice between classic XML or JSON format for the settings file, I'm opting for a JSON file.
After implementation of the change for this issue, the settings will be saved in the /settings/settings.json file.
This should make the application completely portable.

DJDoubleD referenced this issue Aug 14, 2023
- Implement PortableJsonSettingsProvider
- Set all settings to roaming=True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Enhancement of existing functionality Feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants