sindresorhus/electron-dl

Alert when download completes

Open

#32 opened on Nov 8, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (136 forks)user submission
enhancementhelp wanted

Repository metrics

Stars
 (1,206 stars)
PR merge metrics
 (No merged PRs in 30d)

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

Contributor guide