(1.0.19) bump
This commit is contained in:
3 files changed
+7
-1
No files matched your search
Vendored
+3
@@ -210,7 +210,9 @@ class Updater {
|
||||
}
|
||||
else if (dataView[0] == 2) {
|
||||
// done logic
|
||||
console.log(`progress >= filesize: ${this._fileProgress} vs ${this._fileSize}`);
|
||||
if (this._fileProgress >= this._fileSize) {
|
||||
console.log("true");
|
||||
// send agree
|
||||
await this.sendEndCmd(true);
|
||||
progressCallback(`Complete!`);
|
||||
@@ -222,6 +224,7 @@ class Updater {
|
||||
});
|
||||
}
|
||||
else {
|
||||
console.log("False");
|
||||
// send disagree
|
||||
await this.sendEndCmd(false);
|
||||
progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
|
||||
|
||||
Vendored
+3
@@ -208,7 +208,9 @@ class Updater {
|
||||
}
|
||||
else if (dataView[0] == 2) {
|
||||
// done logic
|
||||
console.log(`progress >= filesize: ${this._fileProgress} vs ${this._fileSize}`);
|
||||
if (this._fileProgress >= this._fileSize) {
|
||||
console.log("true");
|
||||
// send agree
|
||||
await this.sendEndCmd(true);
|
||||
progressCallback(`Complete!`);
|
||||
@@ -220,6 +222,7 @@ class Updater {
|
||||
});
|
||||
}
|
||||
else {
|
||||
console.log("False");
|
||||
// send disagree
|
||||
await this.sendEndCmd(false);
|
||||
progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
|
||||
|
||||
Reference in new issue
Block a user