From c712f27171630397e67393dafb50fef3c42a4256 Mon Sep 17 00:00:00 2001 From: "ClemMakesApps@gmail.com" Date: Fri, 27 May 2016 14:03:43 -0500 Subject: [PATCH] Fix electron deprecated API Signed-off-by: Clement Ho --- src/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser.js b/src/browser.js index 2069c802..7b81f3d5 100644 --- a/src/browser.js +++ b/src/browser.js @@ -41,7 +41,7 @@ app.on('ready', function () { mainWindow.loadURL(path.normalize('file://' + path.join(__dirname, 'index.html'))); - app.on('activate-with-no-open-windows', function () { + app.on('activate', function () { if (mainWindow) { mainWindow.show(); }