From 2c74ce8d3e290bd27a257eb1a404eb1bd7d27529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Mon, 15 Jan 2018 12:04:11 +0100 Subject: [PATCH] Reference firmware 8.1.0 and adopt the newly introduced "v" git tag prefix for firmware tags. --- package.json | 4 ++-- scripts/download-firmware.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9a8f72ec..3ad3661c 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "author": "Ultimate Gadget Laboratories", "main": "electron/dist/electron-main.js", "version": "1.0.4", - "firmwareVersion": "8.0.0", - "deviceProtocolVersion": "4.0.0", + "firmwareVersion": "8.1.0", + "deviceProtocolVersion": "4.2.0", "userConfigVersion": "4.0.0", "hardwareConfigVersion": "1.0.0", "description": "Agent is the configuration application of the Ultimate Hacking Keyboard.", diff --git a/scripts/download-firmware.js b/scripts/download-firmware.js index 29e7a06f..5b72b7e4 100644 --- a/scripts/download-firmware.js +++ b/scripts/download-firmware.js @@ -6,7 +6,7 @@ const fs = require('fs'); const fse = require('fs-extra'); async function downloadFirmware(version) { - const url = `https://github.com/UltimateHackingKeyboard/firmware/releases/download/${version}/uhk-firmware-${version}.tar.bz2`; + const url = `https://github.com/UltimateHackingKeyboard/firmware/releases/download/v${version}/uhk-firmware-${version}.tar.bz2`; const outputDir = path.join(__dirname, `../tmp`); const output = path.join(outputDir, `uhk-firmware-${version}.tar.bz2`);