Skip to content

Commit a6b0de4

Browse files
committed
Update all packages and migrate to Electron 6
1 parent 1a04cf7 commit a6b0de4

File tree

5 files changed

+3233
-2024
lines changed

5 files changed

+3233
-2024
lines changed

app/main/index.js

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ app.on('ready', async () => {
4545
minWidth: 640,
4646
minHeight: 480,
4747
show: false,
48+
webPreferences: {
49+
nodeIntegration: true,
50+
},
4851
});
4952

5053
mainWindow.loadFile(path.resolve(path.join(__dirname, '../renderer/index.html')));

babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
'@babel/preset-env',
55
{
66
targets: {
7-
electron: '3.0',
7+
electron: '6.0',
88
},
99
},
1010
],

0 commit comments

Comments
 (0)