We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be73488 + f1a2036 commit 875e1ffCopy full SHA for 875e1ff
public/electron.js
@@ -1,6 +1,6 @@
1
const { app, BrowserWindow, Menu, shell, ipcMain } = require('electron');
2
const path = require('path');
3
-const isDev = require('electron-is-dev');
+const isDev = !app.isPackaged;
4
5
// Keep a global reference of the window object
6
let mainWindow;
0 commit comments