File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ user/settings.json
55dist
66build
77coverage
8- __tests__ /** /__snapshots__
8+ __tests__ /** /__snapshots__
9+ release-builds
Original file line number Diff line number Diff line change 11import { 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');
44import path from 'path' ;
55import './routes/dashboard' ;
66import './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
1818let win : Electron . BrowserWindow ;
You can’t perform that action at this time.
0 commit comments