From 781a80e3163307089b0bda1782e21d758203f82e Mon Sep 17 00:00:00 2001 From: openbuilds-engineer Date: Mon, 6 Aug 2018 19:39:02 +0200 Subject: [PATCH] v1.0.41 persistant agent --- app/index.html | 5 +++-- index.js | 20 ++++++-------------- package.json | 2 +- 3 files changed, 10 insertions(+), 17 deletions(-) diff --git a/app/index.html b/app/index.html index d3043c1..301ab14 100644 --- a/app/index.html +++ b/app/index.html @@ -22,8 +22,9 @@ OpenBuids Machine Driver
- - + + +
diff --git a/index.js b/index.js index 6db6653..85845c9 100644 --- a/index.js +++ b/index.js @@ -2275,21 +2275,13 @@ if (electronApp) { appIcon = new Tray( nativeImage.createFromPath(iconPath) ) - const contextMenu = Menu.buildFromTemplate([ - // { - // label: 'Launch Full Application', - // click() { - // createWindow(); - // } - // }, - { - label: 'Quit Machine Driver', - click() { - appIcon.destroy(); - electronApp.exit(0); - } + const contextMenu = Menu.buildFromTemplate([{ + label: 'Quit Machine Driver (Disables all integration until started again)', + click() { + appIcon.destroy(); + electronApp.exit(0); } - ]) + }]) appIcon.on('click', function() { // console.log("Clicked Systray") if (jogWindow === null) { diff --git a/package.json b/package.json index ed7dd0e..f039b51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "OpenBuildsMachineDriver", - "version": "1.0.40", + "version": "1.0.41", "license": "AGPL-3.0", "description": "Machine Interface Driver for OpenBuilds", "author": "github.com/openbuilds ",