log recieved file progress

This commit is contained in:
2025-12-01 20:44:27 +00:00
parent 2017847b9e
commit bccbd61ad5

View File

@@ -289,6 +289,7 @@ export default class Updater {
let fileProgressView = new Uint32Array(rawData);
this._fileProgress += fileProgressView[0];
this.sendNextPacket();
progressCallback(`Recieved progress ${fileProgressView[0]}; Sending (${Math.floor((this._fileProgress *100)/this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`);
}
}, (error) => { reject("Error: Failed to start notify");
console.error(error);