blob: dd9e5e52a3d8cf7fa46955bdc4972b4ea9026931 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/src/backend/main.ts
+++ b/src/backend/main.ts
@@ -208,7 +208,9 @@ async function initializeWindow(): Promi
detectVCRedist(mainWindow)
}
- if (!app.isPackaged && process.env.CI !== 'e2e') {
+ if (!app.isPackaged &&
+ process.env.CI !== 'e2e' &&
+ process.env.HEROIC_NO_REACT_DEVTOOLS != undefined) {
if (!process.env.HEROIC_NO_REACT_DEVTOOLS) {
import('electron-devtools-installer').then((devtools) => {
const { default: installExtension, REACT_DEVELOPER_TOOLS } = devtools
|