From 9beb24186b128ec35bbad7309afe921cb9f4b47d Mon Sep 17 00:00:00 2001 From: Dennis Snell Date: Tue, 22 Oct 2019 11:40:43 -0700 Subject: [PATCH] In Dev mode, open CHrome Deve Tools in detached mode --- RELEASE-NOTES.txt | 1 + desktop/app.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 15d902a9a..4a9eaa684 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -7,6 +7,7 @@ - Add ability to select system as a theme option and make it the default - Added support for the unicode bullet • in list items - Display a notice that notes are loading when notes are loading + - In dev mode open Chrome Dev Tools in a separate window ### Fixes diff --git a/desktop/app.js b/desktop/app.js index 4e3b3e6b2..b0d222e7d 100644 --- a/desktop/app.js +++ b/desktop/app.js @@ -74,7 +74,7 @@ module.exports = function main() { } if (isDev || process.argv.includes('--devtools')) { - mainWindow.openDevTools(); + mainWindow.openDevTools({ mode: 'detach' }); } // Configure and set the application menu