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

Verified Commit e70de730 authored by Ahmed Harhash's avatar Ahmed Harhash
Browse files

flash_FP4_factory.sh: Support MacOS

* From r33.0.3
parent a50cd220
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -152,12 +152,16 @@ os_checks() {
      FASTBOOT_BIN="${ROOT_DIR}/bin-linux-x86/fastboot"
      ;;
    msys|MINGW*)
      echo "INFO: You are using MinGW on Windows"
      echo "INFO: You are using MinGW on Windows."
      FASTBOOT_BIN="${ROOT_DIR}/bin-msys/fastboot.exe"
      ;;
    Darwin)
      echo "INFO: You are using MacOS."
      FASTBOOT_BIN="${ROOT_DIR}/bin-darwin/fastboot"
      ;;
    *)
      echo "ERROR: Unsupported operating system (${OSTYPE})."
      echo "ERROR: Only GNU/Linux, and MinGW on Windows are currently supported."
      echo "ERROR: Only GNU/Linux, MacOS, and MinGW on Windows are currently supported."
      abort_now
      ;;
  esac
+3.13 MiB

File added.

No diff preview for this file type.

+4.15 MiB

File added.

No diff preview for this file type.

+1.56 MiB

File added.

No diff preview for this file type.

+329 KiB

File added.

No diff preview for this file type.

Loading