pull/153/head
openbuilds-engineer 2020-02-04 15:19:23 +02:00
rodzic 3f8d63701b
commit 6713f3e88b
3 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -1,3 +1,4 @@
v1.0.206: Fixed update check to comply with Github deprecations: https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/
v1.0.205: Updated version of avrgirl backend for Firmware flashing, fixes to CI
v1.0.204: Soft-Limits support in Keyboard Continuous Jogging
v1.0.203: Fixed bug where update popup appears during continuous Jog, now it waits

Wyświetl plik

@ -3,12 +3,19 @@ $(document).ready(function() {
checkUpdate()
});
var githubPAtoken = `3b27c3e69c7731e237687c46693a33df6ee4df29`;
function checkUpdate() {
if (!isMac && webgl) {
setTimeout(function() {
// console.log('checking for update')
printLog("<span class='fg-red'>[ update ] </span><span class='fg-green'>Checking for Updates</span>")
$.getJSON("https://api.github.com/repos/OpenBuilds/OpenBuilds-CONTROL/releases/latest?client_id=fbbb80debc1197222169&client_secret=7dc6e463422e933448f9a3a4150c8d2bbdd0f87c").done(function(release) {
$.getJSON("https://api.github.com/repos/OpenBuilds/OpenBuilds-CONTROL/releases/latest", {
crossDomain: true,
headers: {
'Authorization': githubPAtoken
}
}).done(function(release) {
var availVersion = release.name.substr(1)
var currentVersion = laststatus.driver.version
// console.log(versionCompare(availVersion, currentVersion), availVersion, currentVersion);

Wyświetl plik

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