From bf2ad5649121facef03f4d86cfa1b1b72e91e2a3 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Mon, 19 Oct 2020 22:11:56 +0100 Subject: [PATCH] update to 1.2.2 --- main.js | 10 +++++----- package.json | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/main.js b/main.js index 92290fc..11e0b95 100755 --- a/main.js +++ b/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(); } }); diff --git a/package.json b/package.json index 3a1b187..b75692a 100644 --- a/package.json +++ b/package.json @@ -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": "*",