Skip to content

Simplify config path and increase portability #421

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

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

jcwillox
Copy link
Contributor

https://www.electronjs.org/docs/api/app#appgetpathname

The userData directory is equivalent to appData + app.name.
However, it can be overridden with the command line option --user-data-dir, this means users can change the location of where the electron browser data and config data are stored.
e.g. "MQTT Explorer.exe" --user-data-dir=".../data".

@roman-76
Copy link

@thomasnordquist could you please merge that PR? this will help store configs for portable version in same location where is portable app installed and improve portability.

@bj00rn
Copy link
Collaborator

bj00rn commented Apr 2, 2024

@jcwillox could you rebase this PR on master please, and give it some testing and ill try to get it merged.

Thanks

@bj00rn bj00rn merged commit 736145d into thomasnordquist:master Apr 2, 2024
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.

3 participants