sindresorhus/electron-dl

Alert when download completes

Open

#32 aperta il 8 nov 2017

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (136 fork)user submission
enhancementhelp wanted

Metriche repository

Star
 (1206 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi - nice lib - really usefull!

I am not extremely experienced so would appreciate if you could show an example or explain how to handle the completion event?

I currently have the following in my main.dev.js file and would like to have some way of handling the completion of the download (instead of opening the folder):

import { app, BrowserWindow } from 'electron';
...
require('electron-dl')({openFolderWhenDone:true});
...

Guida contributor