summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorflawedworld <flawedworld@flawed.world>2022-10-16 21:20:22 +0100
committerDaniel Micay <danielmicay@gmail.com>2022-10-17 01:15:36 -0400
commit2c4ec45c5a870ce857d497c3166841b62dd8cdc0 (patch)
treeb2fc33dd84484f4d7e4a80e786bf04bd2cb6a5a6 /static
parent334097cd36eee397f8607ec8eb6b631e7f437ac3 (diff)
Rename gs101Devices to tensorDevices and add 7th gen devices
Diffstat (limited to 'static')
-rw-r--r--static/js/web-install.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/web-install.js b/static/js/web-install.js
index 84443fd7..fe1d8fcd 100644
--- a/static/js/web-install.js
+++ b/static/js/web-install.js
@@ -146,7 +146,7 @@ const qualcommDevices = ["barbet", "redfin", "bramble", "sunfish", "coral", "fla
const legacyQualcommDevices = ["sunfish", "coral", "flame", "bonito", "sargo", "crosshatch", "blueline"];
-const gs101Devices = ["bluejay", "raven", "oriole"];
+const tensorDevices = ["cheetah", "panther", "bluejay", "raven", "oriole"];
async function getLatestRelease() {
let product = await device.getVariable("product");
@@ -238,7 +238,7 @@ async function flashRelease(setProgress) {
await device.runCommand("erase:msadp_a");
await device.runCommand("erase:msadp_b");
}
- if (gs101Devices.includes(product)) {
+ if (tensorDevices.includes(product)) {
setProgress("Disabling FIPS...");
await device.runCommand("erase:fips");
setProgress("Erasing DPM...");