kopia lustrzana https://github.com/dceejay/electron-node-red
update to 1.2.2
rodzic
c2ab01aa0b
commit
bf2ad56491
10
main.js
10
main.js
|
@ -355,7 +355,7 @@ function createConsole() {
|
|||
//conWindow.webContents.openDevTools();
|
||||
const touchButton5 = new TouchBarButton({
|
||||
label: 'Clear Log',
|
||||
backgroundColor: '#910000',
|
||||
backgroundColor: '#640000',
|
||||
click: () => { logBuffer = []; conWindow.webContents.send('logBuff', logBuffer); }
|
||||
});
|
||||
const consoleTouchBar = new TouchBar({
|
||||
|
@ -429,25 +429,25 @@ function createWindow() {
|
|||
|
||||
const touchButton1 = new TouchBarButton({
|
||||
label: 'Dashboard',
|
||||
backgroundColor: '#910000',
|
||||
backgroundColor: '#640000',
|
||||
click: () => { mainWindow.loadURL("http://localhost:"+listenPort+urldash); }
|
||||
});
|
||||
|
||||
const touchButton2 = new TouchBarButton({
|
||||
label: 'Editor',
|
||||
backgroundColor: '#910000',
|
||||
backgroundColor: '#640000',
|
||||
click: () => { mainWindow.loadURL("http://localhost:"+listenPort+urledit); }
|
||||
});
|
||||
|
||||
const touchButton3 = new TouchBarButton({
|
||||
label: 'Map',
|
||||
backgroundColor: '#910000',
|
||||
backgroundColor: '#640000',
|
||||
click: () => { mainWindow.loadURL("http://localhost:"+listenPort+urlmap); }
|
||||
});
|
||||
|
||||
const touchButton4 = new TouchBarButton({
|
||||
label: 'Console',
|
||||
backgroundColor: '#910000',
|
||||
backgroundColor: '#640000',
|
||||
click: () => { createConsole(); }
|
||||
});
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "electron_node_red",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.2",
|
||||
"description": "Electron Node-RED application starter kit for development",
|
||||
"main": "main.js",
|
||||
"NRelectron": {
|
||||
|
@ -29,7 +29,7 @@
|
|||
"electron-is-dev": "^1.2.0",
|
||||
"electron-store": "^6.0.0",
|
||||
"express": "^4.17.1",
|
||||
"node-red": "1.2.0",
|
||||
"node-red": "1.2.2",
|
||||
"node-red-contrib-play-audio": "*",
|
||||
"node-red-contrib-web-worldmap": "*",
|
||||
"node-red-dashboard": "*",
|
||||
|
|
Ładowanie…
Reference in New Issue