aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSindre Sorhus <[email protected]>2015-12-15 15:40:53 +0100
committerSindre Sorhus <[email protected]>2015-12-15 15:40:53 +0100
commit8b56bb420360bacd06efd68f6b140f07ba9e8173 (patch)
tree41bc14701fd0dec3de92331fd2e254b022a3c637
parentd35c1cb29863dfa842ecaa8a75008ad3502ec85a (diff)
parent00b0b2d34b8855343b5f5857ba2bf7acfa140afc (diff)
downloadelectron-boilerplate-8b56bb420360bacd06efd68f6b140f07ba9e8173.tar.xz
electron-boilerplate-8b56bb420360bacd06efd68f6b140f07ba9e8173.zip
Merge pull request #13 from lukeed/activate-patch
'activate-with-no-open-windows' event deprecated
-rw-r--r--boilerplate/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/index.js b/boilerplate/index.js
index abed459..18d77e7 100644
--- a/boilerplate/index.js
+++ b/boilerplate/index.js
@@ -35,7 +35,7 @@ app.on('window-all-closed', () => {
}
});
-app.on('activate-with-no-open-windows', () => {
+app.on('activate', () => {
if (!mainWindow) {
mainWindow = createMainWindow();
}