Skip to content

Commit 7872669

Browse files
authored
Merge pull request #1 from xkiso/master
Commented out line 2, 3, 10-15 in Main.ts
2 parents 6823eff + 2a1310e commit 7872669

4 files changed

Lines changed: 993 additions & 13 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ user/settings.json
55
dist
66
build
77
coverage
8-
__tests__/**/__snapshots__
8+
__tests__/**/__snapshots__
9+
release-builds

electron/Main.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import { app, BrowserWindow } from 'electron';
2-
import { REACT_DEVELOPER_TOOLS } from 'electron-devtools-installer';
3-
const { default: installExtension } = require('electron-devtools-installer');
2+
// import { REACT_DEVELOPER_TOOLS } from 'electron-devtools-installer';
3+
// const { default: installExtension } = require('electron-devtools-installer');
44
import path from 'path';
55
import './routes/dashboard';
66
import './routes/data';
77
// require('./routes/dashboard');
88
// require('./routes/data');
99

1010
// Install React Dev Tools
11-
app.whenReady().then(() => {
12-
installExtension(REACT_DEVELOPER_TOOLS)
13-
.then((name: string) => console.log(`Added Extension: ${name}`))
14-
.catch((err: Error) => console.log('An error occurred: ', err));
15-
});
11+
// app.whenReady().then(() => {
12+
// installExtension(REACT_DEVELOPER_TOOLS)
13+
// .then((name: string) => console.log(`Added Extension: ${name}`))
14+
// .catch((err: Error) => console.log('An error occurred: ', err));
15+
// });
1616

1717
// Declare variable to be used as the application window
1818
let win: Electron.BrowserWindow;

0 commit comments

Comments
 (0)