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

CONFIG_FILE filename collides with intellinote client config file on case insensitive filesystems #1

Open
pstaender opened this issue Jul 4, 2016 · 0 comments

Comments

@pstaender
Copy link

pstaender commented Jul 4, 2016

Hi,

I'm using the desktop app and the cli api client on mac os x (with case insensitive file system hfs+) and the config file of intellinode-cli (/Users/user/.intellinote) collides with the config folder of the desktop app (/Users/user/.Intellinote).

Proposal: a configurable env variable like process.env.INTELLINOTE_CONFIG_FILE

CONFIG_FILE = path.join(TILDE, process.env.INTELLINOTE_CONFIG_FILE or '.intellinote')

or check if folder exists and store config file in $HOME/.Intellinote/.intellinote. This will also occur on windows I guess.

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

1 participant