I just want to download one single file to a specific location. I don't need a listener for all downloads. I just want to download one file at the beginning of the code like
download(url, save_path);
I downloaded electron-dl, but in the documentation it only seems to be covered how to catch downloads from the renderer process. Also this seems fairly complicated Electron - Download a file to a specific location