sindresorhus/electron-dl

Alert when download completes

Open

#32 ouverte le 8 nov. 2017

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)JavaScript (1 206 stars) (136 forks)user submission
enhancementhelp wanted

Description

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});
...

Guide contributeur