DJDoubleD / QobuzDownloaderX-MOD

Downloads streams directly from Qobuz. Experimental refactoring of QobuzDownloaderX by AiiR
GNU General Public License v3.0
478 stars 16 forks source link

[Enhancement] Custom location for user.config #17

Closed gisturbance closed 1 year ago

gisturbance commented 1 year ago

🚀 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 commented 1 year ago

+1, would be a nice improvement.

DJDoubleD commented 1 year ago

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.