(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) {
|
else if (dataView[0] == 2) {
|
||||||
// done logic
|
// done logic
|
||||||
|
console.log(`progress >= filesize: ${this._fileProgress} vs ${this._fileSize}`);
|
||||||
if (this._fileProgress >= this._fileSize) {
|
if (this._fileProgress >= this._fileSize) {
|
||||||
|
console.log("true");
|
||||||
// send agree
|
// send agree
|
||||||
await this.sendEndCmd(true);
|
await this.sendEndCmd(true);
|
||||||
progressCallback(`Complete!`);
|
progressCallback(`Complete!`);
|
||||||
@@ -222,6 +224,7 @@ class Updater {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
console.log("False");
|
||||||
// send disagree
|
// send disagree
|
||||||
await this.sendEndCmd(false);
|
await this.sendEndCmd(false);
|
||||||
progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
|
progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
|
||||||
|
|||||||
Vendored
+3
@@ -208,7 +208,9 @@ class Updater {
|
|||||||
}
|
}
|
||||||
else if (dataView[0] == 2) {
|
else if (dataView[0] == 2) {
|
||||||
// done logic
|
// done logic
|
||||||
|
console.log(`progress >= filesize: ${this._fileProgress} vs ${this._fileSize}`);
|
||||||
if (this._fileProgress >= this._fileSize) {
|
if (this._fileProgress >= this._fileSize) {
|
||||||
|
console.log("true");
|
||||||
// send agree
|
// send agree
|
||||||
await this.sendEndCmd(true);
|
await this.sendEndCmd(true);
|
||||||
progressCallback(`Complete!`);
|
progressCallback(`Complete!`);
|
||||||
@@ -220,6 +222,7 @@ class Updater {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
console.log("False");
|
||||||
// send disagree
|
// send disagree
|
||||||
await this.sendEndCmd(false);
|
await this.sendEndCmd(false);
|
||||||
progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
|
progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "updaterweblibrary",
|
"name": "updaterweblibrary",
|
||||||
"version": "1.0.18",
|
"version": "1.0.19",
|
||||||
"description": "OTA Updater App frontend library",
|
"description": "OTA Updater App frontend library",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in new issue
Block a user