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:
parent
6da1a1077d
commit
6681205337
3 changed files with 32 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue