Skip to content

Commit

Permalink
upgrade to electron 2.0 with fix for #72
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilian committed Aug 30, 2018
1 parent 7d0880f commit d8dfbc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions app/main.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Optional arguments:
darkTheme: true,
titleBarStyle: 'hidden',
autoHideMenuBar: true,
transparent: true,
webPreferences: {
blinkFeatures: 'OverlayScrollbars',
},
Expand Down Expand Up @@ -486,8 +487,8 @@ Optional arguments:
mainWindow = null;
});

if (isDev) {
//if (isDev) {
mainWindow.openDevTools();
}
//}
});
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r babel-register ./app/main.dev.js",
"start-renderer-dev": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.config.renderer.dev.js"
},
"browserslist": "electron 1.8",
"browserslist": "electron 2.0",
"build": {
"productName": "FromScratch",
"appId": "com.kilianvalkhof.FromScratch",
Expand Down Expand Up @@ -114,7 +114,7 @@
"cross-spawn": "^6.0.5",
"css-loader": "^0.28.11",
"detect-port": "^1.2.3",
"electron": "^1.8.7",
"electron": "^2.0.8",
"electron-builder": "20.14.7",
"electron-devtools-installer": "^2.2.4",
"electron-rebuild": "^1.7.3",
Expand Down

0 comments on commit d8dfbc2

Please sign in to comment.