From e2e1c29a4cc85ed8798ef3cc76a994a4b12c3765 Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Wed, 17 Apr 2024 14:07:04 -0500 Subject: [PATCH] Bug fix: Install devtron & Ember Inspector in dev (#1698) In the process of removing `electron-is-dev` the way that we determine if we're in development environments changed, and as a result we need to invert the conditional. Fixes: https://github.com/adopted-ember-addons/ember-electron/issues/1697 --- forge/files/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge/files/src/index.js b/forge/files/src/index.js index de1c58ef..4e27690b 100644 --- a/forge/files/src/index.js +++ b/forge/files/src/index.js @@ -31,7 +31,7 @@ app.on('window-all-closed', () => { }); app.on('ready', async () => { - if (app.isPackaged) { + if (!app.isPackaged) { try { require('devtron').install(); } catch (err) {