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.
1 parent 622e711 commit aa346e6Copy full SHA for aa346e6
public/electron.js
@@ -23,9 +23,6 @@ const createWindow = () => {
23
electron.Menu.setApplicationMenu(null);
24
}
25
26
- // noinspection JSUndefinedPropertyAssignment
27
- global.mainWindow = mainWindow;
28
-
29
mainWindow.removeMenu();
30
mainWindow.loadURL(isDev ? "http://localhost:3000" : `file://${path.join(__dirname, "../build/index.html")}`);
31
mainWindow.on("closed", () => (mainWindow = null));
0 commit comments