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 -nodejs suffix configurable #35

Closed
MegaGM opened this issue Mar 25, 2018 · 3 comments · Fixed by #52
Closed

Make the -nodejs suffix configurable #35

MegaGM opened this issue Mar 25, 2018 · 3 comments · Fixed by #52

Comments

@MegaGM
Copy link

MegaGM commented Mar 25, 2018

Related: sindresorhus/env-paths#2

@sindresorhus
Copy link
Owner

Why do you need this? What's your use-case?

@MegaGM
Copy link
Author

MegaGM commented Apr 2, 2018

  1. To store a database.json file within app.getPath('userData') directory (with no -nodejs suffix)
  2. To use the same database.json file in different processes. Electron's main and renderer, as well as non-Electron app.

@sindresorhus
Copy link
Owner

sindresorhus commented Apr 3, 2018

Alright :)

sindresorhus added a commit that referenced this issue Jan 18, 2019
Fixes #35


Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants