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

Adding contacts assumes $HOME/hush-ng/ exists #25

Open
leto opened this issue Mar 15, 2018 · 2 comments
Open

Adding contacts assumes $HOME/hush-ng/ exists #25

leto opened this issue Mar 15, 2018 · 2 comments
Assignees
Labels

Comments

@leto
Copy link
Member

leto commented Mar 15, 2018

events.js:163 Uncaught Error: ENOENT: no such file or directory, open '/Users/jonathanleto/hush-ng/contacts.json'

which causes all kinds of bad problemas afterward. @rjanetzek i think we should move this data inside of .hush/, just like the hushlist reference implementation that uses .hush/list. How about .hush/ng/ for this data?

@leto
Copy link
Member Author

leto commented Mar 16, 2018

For now we can keep it in the same place, but we must check that it exists and show a UI error if something goes wrong, like a permission error

@TheTrunk
Copy link
Contributor

In the initial setup it creates hush-ng folder and downloads hushd, hush-cli into hush-ng/bin so it assumes correctly that hush-ng folder exists when it created it.
If so, move everything to .hush then but imo the installation and uninstallation has to be considered firstly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants