diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2022-11-18 13:07:43 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2022-11-18 13:07:43 -0500 |
| commit | b77b6a44351b8675da3ba429a867cbc0843da659 (patch) | |
| tree | cf6fba8e96f162dc6e1f8ef1ca940069e943de9b /static/js/web-install.js | |
| parent | 135ebf512171641c9488c6fae2d3c45b3928343e (diff) | |
Revert "cancel snapshot update if one is in progress"
This reverts commit 135ebf512171641c9488c6fae2d3c45b3928343e.
Diffstat (limited to 'static/js/web-install.js')
| -rw-r--r-- | static/js/web-install.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/static/js/web-install.js b/static/js/web-install.js index 4e598474..66df4314 100644 --- a/static/js/web-install.js +++ b/static/js/web-install.js @@ -213,13 +213,8 @@ async function flashRelease(setProgress) { throw new Error("You need to download a release first!"); } - safeToLeave = false; - - // If the user didn't follow the update instructions correctly - setProgress("Cancelling any update in progress..."); - await device.runCommand("snapshot-update:cancel"); - setProgress("Flashing release..."); + safeToLeave = false; try { await device.flashFactoryZip(blob, true, reconnectCallback, (action, item, progress) => { |
