Skip to content

app.getPath() should support gettings the user's downloads directory #3413

Closed

Description

@sindresorhus

https://github.com/atom/electron/blob/master/docs/api/app.md#appgetpathname

I need this so I can pass it to downloadItem.setSavePath().

When the user clicks a download link I just want it to end up in the user's downloads directory without having to force the user to manually pick the directory. This is how Safari does it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions