desktop
desktop copied to clipboard
Desktop app not using correct "Downloads" directory on windows
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/
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.
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