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

Make the some paths to ApplicationDocumentsDirectory/FEhViewer #187

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

hxdhttk
Copy link
Contributor

@hxdhttk hxdhttk commented Nov 23, 2022

To call getApplicationDocumentsDirectory() will return a path to %USERPROFICE%\Documents on Windows.
The path is dedicated to a user and is not specific for the app, and writring to this directory directly may confict with stuffs generated by other apps.
This PR will add a subdirectory named after EHConst.appTitle under the returned path for the data specific for this app to avoid the conficts and separate the data generated by this app from other apps to make migration and monitoring easier.

Before the fix:
before

After the fix:
after1
after2

@honjow honjow merged commit 0fef985 into 3003h:master Nov 23, 2022
honjow added a commit that referenced this pull request Nov 24, 2022
Make the some paths to `ApplicationDocumentsDirectory/FEhViewer`
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.

2 participants