const win = BrowserWindow.getFocusedWindow();
const userDocumentPath = app.getPath("documents");
const pathToDestinationDir = `${userDocumentPath}/customfolder/${folder}`;
await download(win, url, {
saveAs: true,
});
no matter what I do, i dont get the save as dialog. The file just directly gets downloaded into my download folder. Anyone knows why?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too