Change Default Storage Path


#1

I’m building a web application that serves some word documents for download from a URL .
Opening the documents from the url posts a box asking to save the document but the default storage path is set to library - application support - Application Name - Downloads

How do you set this default storage path to lets say the actual download folder on OSX or download folder on windows ?

Thank you in advance .


#2

You can change it through the session module.


#3

Thank you got it working after updating to the latest prebuild .


#4

You might find electron-dl useful.


#5

Thank you sindresorhus i’ll have a look into that .