From bccbd61ad5b960e493e37baa7a8d3bf7f1094c40 Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 1 Dec 2025 20:44:27 +0000 Subject: [PATCH] log recieved file progress --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 9673b0e..cc02db3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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);