(1.0.11) reading board version to the program

This commit is contained in:
chopster44 committed 2025-11-18 21:28:09 +00:00
1 parent 403f01d52f
commit 6f77c15088
4 files changed
+8 -1

No files matched your search

+3
View File
@@ -145,6 +145,9 @@ class Updater {
// update
return false;
}
async getBoardVersion() {
return await this.readVersionNumber();
}
}
module.exports = Updater;
+1
View File
@@ -23,4 +23,5 @@ export default class Updater {
private readVersionNumber;
private getLatestVersion;
checkForUpdate(): Promise<boolean>;
getBoardVersion(): Promise<string>;
}
+3
View File
@@ -143,6 +143,9 @@ class Updater {
// update
return false;
}
async getBoardVersion() {
return await this.readVersionNumber();
}
}
export { Updater as default };
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "updaterweblibrary",
"version": "1.0.10",
"version": "1.0.11",
"description": "OTA Updater App frontend library",
"repository": {
"type": "git",