summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2025-04-12 19:40:25 -0400
committerDaniel Micay <daniel.micay@grapheneos.org>2025-04-12 19:41:53 -0400
commit4427db873cc0ddc65b1e1423adbf8cb73d616d9a (patch)
tree7d60634166402119947db15bf90627dd72df88c0 /static
parent05a25b7825b9789c0512bbd48d2ebb3cc8d2c4d9 (diff)
clarify web install text for unlock/lock success
This doesn't wait until the user interacts with the prompt to approve unlocking or locking on modern Pixel devices.
Diffstat (limited to 'static')
-rw-r--r--static/js/web-install.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/static/js/web-install.js b/static/js/web-install.js
index 1ba6bb22..5668653f 100644
--- a/static/js/web-install.js
+++ b/static/js/web-install.js
@@ -217,7 +217,7 @@ async function unlockBootloader(setProgress) {
}
}
- return "Bootloader unlocked.";
+ return "Bootloader unlocking triggered successfully.";
}
const supportedDevices = ["comet", "komodo", "caiman", "tokay", "akita", "husky", "shiba", "felix", "tangorpro", "lynx", "cheetah", "panther", "bluejay", "raven", "oriole", "barbet", "redfin", "bramble", "sunfish", "coral", "flame"];
@@ -366,10 +366,7 @@ async function lockBootloader(setProgress) {
}
}
- // We can't explicitly validate the bootloader lock state because it reboots
- // to recovery after locking. Assume that the device would've replied with
- // FAIL if if it wasn't locked.
- return "Bootloader locked.";
+ return "Bootloader locking triggered successfully.";
}
function addButtonHook(id, callback) {