From 9030bf6418f9c1a56e3226fe884830e9880f5056 Mon Sep 17 00:00:00 2001 From: UKDTOM Date: Fri, 12 Jun 2020 20:49:36 +0200 Subject: [PATCH] Enabled Vue Devtools --- src/background.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/background.js b/src/background.js index e4ec00b..6d13ed0 100644 --- a/src/background.js +++ b/src/background.js @@ -10,7 +10,7 @@ console.log = log.log; import { createProtocol, - /* installVueDevtools */ + installVueDevtools } from 'vue-cli-plugin-electron-builder/lib' const isDevelopment = process.env.NODE_ENV !== 'production' @@ -74,11 +74,11 @@ app.on('ready', async () => { // Electron will not launch with Devtools extensions installed on Windows 10 with dark mode // If you are not using Windows 10 dark mode, you may uncomment these lines // In addition, if the linked issue is closed, you can upgrade electron and uncomment these lines - // try { - // await installVueDevtools() - // } catch (e) { - // console.error('Vue Devtools failed to install:', e.toString()) - // } + try { + await installVueDevtools() + } catch (e) { + console.error('Vue Devtools failed to install:', e.toString()) + } } Menu.setApplicationMenu(null)