@sindresorhus please add an option to display the error message box.
If make more sense allow users to deal with the download errors. I quickly created some code, so you can copy/paste the text without loosing to much time.
LINE 55 ADD:
const showErrorDialog = options.showErrorDialog != null ? options.showErrorDialog : true; // default is true
LINE 108 CHANGE TO:
if (showErrorDialog) {
electron.dialog.showErrorBox(errorTitle, message);
}
README.md ADD
#### showErrorDialog
Type: `boolean`<br>
Default: `true`
Show error dialog
Thank you for your good work on many modules
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too