attachment download now works also in electron, added option to open the attachment

This commit is contained in:
azivner
2018-02-18 22:19:07 -05:00
parent 78e8c15786
commit aa2bbc6575
5 changed files with 104 additions and 5 deletions

View File

@@ -15,6 +15,8 @@ require('electron-debug')();
// Prevent window being garbage collected
let mainWindow;
require('electron-dl')({ saveAs: true });
function onClosed() {
// Dereference the window
// For multiple windows store them in an array