Skip to content

Follow OS conventions for storing cache #1097

Open
@Arian04

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions