mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
Init
This commit is contained in:
parent
939f5af04b
commit
f24ccfc637
96 changed files with 16438 additions and 8058 deletions
|
@ -5,7 +5,7 @@ var appUpdater = appUpdater || {};
|
|||
appUpdater.checkRelease = function (currVersion) {
|
||||
var modalStart;
|
||||
$.get('https://api.github.com/repos/iNavFlight/inav-configurator/releases', function (releaseData) {
|
||||
GUI.log(chrome.i18n.getMessage('loadedReleaseInfo'));
|
||||
GUI.log(localization.getMessage('loadedReleaseInfo'));
|
||||
//Git return sorted list, 0 - last release
|
||||
|
||||
let newVersion = releaseData[0].tag_name;
|
||||
|
@ -15,7 +15,7 @@ appUpdater.checkRelease = function (currVersion) {
|
|||
GUI.log(newVersion, chrome.runtime.getManifest().version);
|
||||
GUI.log(currVersion);
|
||||
|
||||
GUI.log(chrome.i18n.getMessage('newVersionAvailable'));
|
||||
GUI.log(localization.getMessage('newVersionAvailable'));
|
||||
modalStart = new jBox('Modal', {
|
||||
width: 400,
|
||||
height: 200,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue