Skip to content

Commit 67fd6e6

Browse files
committed
fixed build issue with about-window module
1 parent 790998e commit 67fd6e6

File tree

4 files changed

+738
-11
lines changed

4 files changed

+738
-11
lines changed

main.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const fileContent = require('./fileContent.js');
2424
const flattenComponent = require('./flattenComponent.js');
2525

2626
// for development - Hot-Reloading
27-
require('electron-reload')(__dirname);
27+
// require('electron-reload')(__dirname);
2828

2929
// Keep a global reference of the window object, if you don't, the window will
3030
// be closed automatically when the JavaScript object is garbage collected.
@@ -75,12 +75,12 @@ function createWindow() {
7575
Menu.setApplicationMenu(menu);
7676

7777
// Open the DevTools.
78-
mainWindow.webContents.openDevTools()
78+
// mainWindow.webContents.openDevTools()
7979

8080

8181
/*****
82-
83-
Functions for Electron backend functionality:
82+
83+
Functions for Electron backend functionality:
8484
componentTree:
8585
- the IPC listens for component info to be received from the front end.
8686
- openDialog lets user to select where exported file folder will be generated.
@@ -93,7 +93,7 @@ function createWindow() {
9393
9494
saveFile:
9595
- allows user to save project file
96-
96+
9797
*****/
9898
IPC.on('componentTree', (event, components) => {
9999
let flattenComps = flattenComponent(components);
@@ -147,9 +147,9 @@ function createWindow() {
147147
});
148148

149149
/*****
150-
150+
151151
Requires in direct path for React Dev Tools:
152-
- File path will be unique to the dev tools location on the developer's machine.
152+
- File path will be unique to the dev tools location on the developer's machine.
153153
154154
*****/
155155
// const configValues = require('./config');

0 commit comments

Comments
 (0)