Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19b72115 authored by Ashwin Prakash's avatar Ashwin Prakash Committed by Jackeagle
Browse files

web-installer: Support required model names for OnePlus Nord

- A12 stock detects as Nord
- A12 e os detects as OnePlusNord
- A16 e 0s detects as avicii
parent be0e577d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -522,6 +522,10 @@ export class ControllerManager {
        this_model = "tetris";
      }

      if (this_model === "Nord" || this_model === "OnePlusNord") {
        this_model = "avicii";
      }

      resources = await (await fetch(`resources/${this_model}.json`)).json();
      if (
        current_security_path_level != null &&