kopia lustrzana https://github.com/dceejay/electron-node-red
bump libraries
rodzic
91e6d22ca0
commit
3abecac973
14
main.js
14
main.js
|
@ -344,14 +344,16 @@ function createConsole() {
|
|||
// titleBarStyle: "hidden",
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
nativeWindowOpen: true
|
||||
nativeWindowOpen: true,
|
||||
contextIsolation: false
|
||||
}
|
||||
});
|
||||
conWindow.loadURL(url.format({
|
||||
pathname: path.join(__dirname, urlconsole),
|
||||
protocol: 'file:',
|
||||
slashes: true
|
||||
}))
|
||||
// conWindow.loadURL(url.format({
|
||||
// pathname: path.join(__dirname, urlconsole),
|
||||
// protocol: 'file:',
|
||||
// slashes: true
|
||||
// }))
|
||||
conWindow.loadURL(path.join(__dirname, urlconsole));
|
||||
conWindow.webContents.on('did-finish-load', () => {
|
||||
conWindow.webContents.send('logBuff', logBuffer);
|
||||
});
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"electron-is-dev": "^2.0.0",
|
||||
"electron-store": "^8.0.1",
|
||||
"express": "^4.17.2",
|
||||
"fs-extra": "^10.0.0",
|
||||
"fs-extra": "^11.1.0",
|
||||
"node-red": "3.0.2",
|
||||
"node-red-contrib-play-audio": "*",
|
||||
"node-red-contrib-web-worldmap": "*",
|
||||
|
|
Ładowanie…
Reference in New Issue