(1.0.18) bump

This commit is contained in:
chopster44 committed 2025-11-30 16:51:58 +00:00
1 parent 896cccd7ff
commit 418df318ee
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -206,7 +206,7 @@ class Updater {
if (dataView[0] == 1) { if (dataView[0] == 1) {
// send file // send file
await this.sendNextPacket(); await this.sendNextPacket();
progressCallback(`Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}), ${this._fileProgress} / ${this._fileSize}`); progressCallback(`Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`);
} }
else if (dataView[0] == 2) { else if (dataView[0] == 2) {
// done logic // done logic
@@ -224,7 +224,7 @@ class Updater {
else { else {
// send disagree // send disagree
await this.sendEndCmd(false); await this.sendEndCmd(false);
progressCallback(`Error, starting over`); progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
this._fileProgress = 0; this._fileProgress = 0;
} }
} }
+2 -2
View File
@@ -204,7 +204,7 @@ class Updater {
if (dataView[0] == 1) { if (dataView[0] == 1) {
// send file // send file
await this.sendNextPacket(); await this.sendNextPacket();
progressCallback(`Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}), ${this._fileProgress} / ${this._fileSize}`); progressCallback(`Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`);
} }
else if (dataView[0] == 2) { else if (dataView[0] == 2) {
// done logic // done logic
@@ -222,7 +222,7 @@ class Updater {
else { else {
// send disagree // send disagree
await this.sendEndCmd(false); await this.sendEndCmd(false);
progressCallback(`Error, starting over`); progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
this._fileProgress = 0; this._fileProgress = 0;
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "updaterweblibrary", "name": "updaterweblibrary",
"version": "1.0.17", "version": "1.0.18",
"description": "OTA Updater App frontend library", "description": "OTA Updater App frontend library",
"repository": { "repository": {
"type": "git", "type": "git",