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

Commit 0146b716 authored by Jackeagle's avatar Jackeagle
Browse files

Merge branch '1630-a16-avicii' into 'main'

web-installer: Bump OnePlusNord(avicii) to A16

See merge request !62
parents ec89a3ae 19b72115
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
    },
    {
      "id": "connect-bootloader",
      "command": ["connect bootloader", "oem unlock"],
      "command": ["connect bootloader", "oem unlock goto_flashing"],
      "needUserGesture": true
    },
    {
@@ -81,7 +81,7 @@
  "folder": [
    {
      "name": "One+ Nord recovery installer",
      "path": "https://images.ecloud.global/official/avicii/recovery-IMG-e-latest-s-official-avicii.zip",
      "path": "https://images.ecloud.global/official/avicii/recovery-IMG-e-latest-a16-official-avicii.zip",
      "unzip": true,
      "mapping": {
        "^dtbo.*img$": "dtbo.img",
@@ -91,7 +91,7 @@
    },
    {
      "name": "oneplus-nord-rom.zip",
      "path": "https://images.ecloud.global/stable/avicii/e-latest-s-official-avicii.zip"
      "path": "https://images.ecloud.global/stable/avicii/e-latest-a16-official-avicii.zip"
    }
  ]
}
+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 &&