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

Use LocalApplicationData path instead of the executable's path #566

Merged
merged 3 commits into from
Apr 18, 2021

Conversation

domialex
Copy link
Owner

@domialex domialex commented Apr 17, 2021

Fixes #565

Don't merge yet.

Use LocalApplicationData path instead of the executable's path to store persistent user data.

@leMicin This is a working fix, the data will be stored in %AppData%\Roaming\sidekick which is the same place where Electron seems to store webkit stuff (such as localStorage, sessionStorage, etc.). In theory it's actually a better location than using %AppData%\Local\Programs\sidekick that serves as the installation path.
Might want to decide if we want to add logic for debugging purposes and see how we handle the Test Project.

@leMicin leMicin self-requested a review April 18, 2021 17:39
@domialex domialex merged commit 06623fa into develop Apr 18, 2021
@domialex domialex deleted the bugfix-userdata branch April 18, 2021 17:41
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.

Change the directory used to store persistent files
2 participants