From 5d171aa33ee6b0f4e2bbe24a4cf9362e3b5007d5 Mon Sep 17 00:00:00 2001 From: CHaBou Date: Tue, 15 Aug 2017 03:29:50 +0200 Subject: [PATCH] Return created window (#2081) --- app/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/index.js b/app/index.js index afdc80a6..62bc82a1 100644 --- a/app/index.js +++ b/app/index.js @@ -155,6 +155,8 @@ app.on('ready', () => installDevExtensions(isDev).then(() => { app.quit(); } }); + + return hwin; } // when opening create a new window