[MM-42024] Enable React Developer Tools for nightly builds (#2018)
This commit is contained in:
@@ -302,7 +302,10 @@ function initializeAfterAppReady() {
|
||||
AutoLauncher.upgradeAutoLaunch();
|
||||
}
|
||||
|
||||
if (global.isDev) {
|
||||
// eslint-disable-next-line no-undef
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
if (global.isDev || __IS_NIGHTLY_BUILD__) {
|
||||
installExtension(REACT_DEVELOPER_TOOLS).
|
||||
then((name) => log.info(`Added Extension: ${name}`)).
|
||||
catch((err) => log.error('An error occurred: ', err));
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
/* eslint-disable no-magic-numbers */
|
||||
|
||||
import {contextBridge, ipcRenderer, webFrame, desktopCapturer} from 'electron';
|
||||
import {contextBridge, ipcRenderer, webFrame} from 'electron';
|
||||
|
||||
// I've filed an issue in electron-log https://github.com/megahertz/electron-log/issues/267
|
||||
// we'll be able to use it again if there is a workaround for the 'os' import
|
||||
|
Reference in New Issue
Block a user