desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Desktop app not using correct "Downloads" directory on windows

Open svelle opened this issue 2 years ago • 2 comments

If you set your Downloads directory to something other than "User Home"/Downloads the Desktop app does not respect the new location.

Maybe this could help: https://www.reddit.com/r/Batch/comments/ec8bwi/whats_the_universal_path_to_the_users_downloads/

svelle avatar Oct 28 '21 22:10 svelle

Also affected by this. Bug seems to be here: https://github.com/mattermost/desktop/blob/fc13f877f2a4fdb4988b568737dac645ceea2a0e/src/common/config/defaultPreferences.ts#L15-L17

Solution could be https://stackoverflow.com/a/50391890 . I'd open a PR but i'm not a node / js developer.

namazso avatar Mar 17 '22 10:03 namazso

Just for some context, it seems that Electron isn't doing this properly either. app.getPath('downloads') always returns C:\Users\<username>\Downloads it seems. Not sure how it's calculating that

devinbinnie avatar May 11 '23 20:05 devinbinnie