Loading app/src/static/js/controller.manager.js +4 −7 Original line number Diff line number Diff line Loading @@ -159,12 +159,10 @@ export class Controller { let gotoStep = ""; if (cmd.partition) { try { console.log(">>>", cmd.partition); if (cmd.partition.startsWith("goto_")) { gotoStep = cmd.partition.substring(5); console.log(">>>>",gotoStep); WDebug.log("goto step", gotoStep); isUnlocked = await this.deviceManager.getUnlocked('unlocked'); console.log(">>>>>",isUnlocked); } else { isUnlocked = await this.deviceManager.getUnlocked(cmd.partition); } Loading @@ -189,11 +187,10 @@ export class Controller { } else { // Goto the maned step. do { this.currentIndex++; console.log(this.steps[this.currentIndex]); WDebug.log("Bypass step", this.steps[this.currentIndex].name); } while (this.steps[this.currentIndex].name == gotoStep); WDebug.log("Bypass step", this.steps[this.currentIndex].name + " " + (this.steps[this.currentIndex].name == gotoStep)); } while ( !(this.steps[this.currentIndex].name == gotoStep) ); this.currentIndex--; } } return true; case Command.CMD_TYPE.lock: Loading app/src/static/resources/FP4-safe.json +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ { "mode": "bootloader", "id": "connect-bootloader", "command": ["connect bootloader", "flashing unlock"], "command": ["connect bootloader", "flashing unlock goto_flashing"], "needUserGesture": true }, { Loading app/src/static/resources/FP4.json +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ { "mode": "bootloader", "id": "connect-bootloader", "command": ["connect bootloader", "flashing unlock"], "command": ["connect bootloader", "flashing unlock goto_flashing"], "needUserGesture": true }, { Loading Loading
app/src/static/js/controller.manager.js +4 −7 Original line number Diff line number Diff line Loading @@ -159,12 +159,10 @@ export class Controller { let gotoStep = ""; if (cmd.partition) { try { console.log(">>>", cmd.partition); if (cmd.partition.startsWith("goto_")) { gotoStep = cmd.partition.substring(5); console.log(">>>>",gotoStep); WDebug.log("goto step", gotoStep); isUnlocked = await this.deviceManager.getUnlocked('unlocked'); console.log(">>>>>",isUnlocked); } else { isUnlocked = await this.deviceManager.getUnlocked(cmd.partition); } Loading @@ -189,11 +187,10 @@ export class Controller { } else { // Goto the maned step. do { this.currentIndex++; console.log(this.steps[this.currentIndex]); WDebug.log("Bypass step", this.steps[this.currentIndex].name); } while (this.steps[this.currentIndex].name == gotoStep); WDebug.log("Bypass step", this.steps[this.currentIndex].name + " " + (this.steps[this.currentIndex].name == gotoStep)); } while ( !(this.steps[this.currentIndex].name == gotoStep) ); this.currentIndex--; } } return true; case Command.CMD_TYPE.lock: Loading
app/src/static/resources/FP4-safe.json +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ { "mode": "bootloader", "id": "connect-bootloader", "command": ["connect bootloader", "flashing unlock"], "command": ["connect bootloader", "flashing unlock goto_flashing"], "needUserGesture": true }, { Loading
app/src/static/resources/FP4.json +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ { "mode": "bootloader", "id": "connect-bootloader", "command": ["connect bootloader", "flashing unlock"], "command": ["connect bootloader", "flashing unlock goto_flashing"], "needUserGesture": true }, { Loading