File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ /node_modules /
2+ /package-lock.json
Original file line number Diff line number Diff line change 1+ const { app, BrowserWindow } = require ( 'electron' ) ;
2+
3+ app . on ( 'ready' , ( ) => {
4+ const win = new BrowserWindow ( {
5+ width : 1000 ,
6+ height : 600 ,
7+ autoHideMenuBar : true ,
8+ } ) ;
9+
10+ win . loadFile ( 'index.html' ) ;
11+ } ) ;
12+
13+ app . on ( 'window-all-closed' , ( ) => {
14+ if ( process . platform !== 'darwin' ) app . quit ( ) ;
15+ } ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " math-notepad" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " Very simple math.js editor" ,
5+ "main" : " main.js" ,
6+ "author" : " Felipe Contreras" ,
7+ "scripts" : {
8+ "start" : " electron ."
9+ },
10+ "devDependencies" : {
11+ "electron" : " ^19.0.9"
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments