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

Ensure that preferences file is stored in ~/Library/Akso on Mac (explicitly specify path) #1

Closed
zrnsm opened this issue Sep 21, 2020 · 1 comment

Comments

@zrnsm
Copy link

zrnsm commented Sep 21, 2020

File p = new File(Preferences.getPrefsFileLoc());

The prefs file is just assumed to be in the current working directory of the application. This is just fine on Windows and Linux. The file gets stored in the installation directory.

On Mac, this is actually inside the .app which is not normally writable.

Right now we detect MacOS and write the library files to ~/Library/Akso. The prefs file needs to be written there as well. We should be able to follow the same exact pattern.

@zrna-research
Copy link
Owner

Fixed in 3.0.2-dev.

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

No branches or pull requests

2 participants