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

Commit d941820a authored by Ashwin Prakash's avatar Ashwin Prakash
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 a24a49df
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -411,6 +411,10 @@ export class Controller {
        }
      }

      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 &&