Add global state and right click menu using redux
This commit is contained in:
parent
9821373504
commit
54d64cc124
10 changed files with 190 additions and 81 deletions
4
main.js
4
main.js
|
|
@ -11,11 +11,7 @@ var mainWindow = null;
|
|||
|
||||
// Quit when all windows are closed.
|
||||
app.on('window-all-closed', function() {
|
||||
// On OS X it is common for applications and their menu bar
|
||||
// to stay active until the user quits explicitly with Cmd + Q
|
||||
if (process.platform != 'darwin') {
|
||||
app.quit();
|
||||
}
|
||||
});
|
||||
|
||||
// This method will be called when Electron has finished
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue