Slight grab-bag of fixes for electron on Windows

* Implement the squirrel install / uninstall hooks (so we have
   a start menu entry / desktop shortcut)
 * Wait longer before checking for update
 * Set the window icon
 * Add a 'file' menu
 * Bump electron-builder
 * Add the icon url for the control panel entry
This commit is contained in:
David Baker 2016-11-07 11:41:41 +00:00
parent 6da1a1077d
commit 6681205337
3 changed files with 32 additions and 5 deletions

View file

@ -182,7 +182,20 @@ if (process.platform === 'darwin') {
role: 'front'
}
]
};
} else {
template.unshift({
label: 'File',
submenu: [
// For some reason, 'about' does not seem to work on windows.
/*{
role: 'about'
},*/
{
role: 'quit'
}
]
});
}
module.exports = electron.Menu.buildFromTemplate(template)