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

Read default config path from registry on Windows #79

Open
eiennohito opened this issue Jan 18, 2018 · 3 comments
Open

Read default config path from registry on Windows #79

eiennohito opened this issue Jan 18, 2018 · 3 comments

Comments

@eiennohito
Copy link
Contributor

No description provided.

@DoumanAsh
Copy link
Contributor

Is there config path?
I'd prefer by default to expect config path in the same directory as Windows to avoid polluting registry at all.

@eiennohito
Copy link
Contributor Author

This is for Windows binaries which are distributed with an installer.

Yes, there actually is, even for unixes (makes sense only for binaries though)!
I don't know what is better: the same directory or the registry.

@DoumanAsh
Copy link
Contributor

DoumanAsh commented Jan 18, 2018

If access to registry from binary itself will be read-only I'd go for both as I'm not sure what option would be for anyone who is gonna use binary not from installer.

Though you can also adopt similar to vim approach: read in priority order:

  1. Read from $HOME/.jumanpp
  2. Read from Windows registry (well vim doesn't use registry though).
  3. Read from the same directory as binary

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