(1.0.18) bump

This commit is contained in:
2025-11-30 16:51:58 +00:00
parent 896cccd7ff
commit 418df318ee
3 changed files with 5 additions and 5 deletions

4
dist/index.cjs.js vendored
View File

@@ -206,7 +206,7 @@ class Updater {
if (dataView[0] == 1) {
// send file
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) {
// done logic
@@ -224,7 +224,7 @@ class Updater {
else {
// send disagree
await this.sendEndCmd(false);
progressCallback(`Error, starting over`);
progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
this._fileProgress = 0;
}
}

4
dist/index.es.js vendored
View File

@@ -204,7 +204,7 @@ class Updater {
if (dataView[0] == 1) {
// send file
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) {
// done logic
@@ -222,7 +222,7 @@ class Updater {
else {
// send disagree
await this.sendEndCmd(false);
progressCallback(`Error, starting over`);
progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
this._fileProgress = 0;
}
}