sindresorhus/electron-dl

Alert when download completes

Ouverte

#32 ouverte le 8 nov. 2017

 (2 commentaires) (0 réaction) (0 personne assignée)JavaScript (136 forks)user submission
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 206 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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