pull/110/head
openbuilds-engineer 2019-04-16 15:17:42 +02:00
rodzic 3526647e0f
commit f8da3949a6
3 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -1,3 +1,4 @@
v1.0.153: Improved UI behavior on unplug all devices
v1.0.152: Updated backend to node-serialPort 7.1.3, Updated Backend to Electron 4.0.5.
v1.0.151: Macros: Added customizable tooltip, Macros: Edit button hover color, Fix UI for USB Unplug while connected.
v1.0.150: Improvements to the Feedrate Override and Tool/Spindle/Laser Override Sliders

Wyświetl plik

@ -260,6 +260,10 @@ function initSocket() {
for (i = 0; i < status.comms.interfaces.ports.length; i++) {
string += "[" + status.comms.interfaces.ports[i].comName + "]"
}
if (!status.comms.interfaces.ports.length) {
string += "[ No devices connected ]"
}
printLog(string)
laststatus.comms.interfaces.ports = status.comms.interfaces.ports;
populatePortsMenu();
@ -530,6 +534,9 @@ function populatePortsMenu() {
var port = friendlyPort(i)
response += `<option value="` + laststatus.comms.interfaces.ports[i].comName + `">` + laststatus.comms.interfaces.ports[i].comName + " " + port.note + `</option>`;
};
if (!laststatus.comms.interfaces.ports.length) {
response += `<option value="">Waiting for USB</option`
}
response += `</optgroup></select>`
var select = $("#portUSB").data("select");
select.data(response);

Wyświetl plik

@ -1,6 +1,6 @@
{
"name": "OpenBuildsCONTROL",
"version": "1.0.152",
"version": "1.0.153",
"license": "AGPL-3.0",
"description": "Machine Interface Driver for OpenBuilds",
"author": "github.com/openbuilds <webmaster@openbuilds.com>",