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

Follow OS conventions for storing cache #1097

Open
Arian04 opened this issue Aug 8, 2023 · 0 comments
Open

Follow OS conventions for storing cache #1097

Arian04 opened this issue Aug 8, 2023 · 0 comments

Comments

@Arian04
Copy link

Arian04 commented Aug 8, 2023

Hi, currently, .electron-gyp is stored in the home directory. I think it would be much nicer if the default could be changed so that it is stored in the expected cache directory for the OS as node-gyp did here.

I skimmed through the codebase and I think the only thing that would have to be done is to change this line to use env-paths to get the system cache directory (as node-gyp did in the referenced commit) and add it to the package.json.

I'm not familiar with typescript or this codebase, so I may be missing something. If I have time I might create a pull request for this.

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