JrMasterModelBuilder / Mindstorms-Fantom-Drivers-Mac-Install

A script to install the LEGO Mindstorms Fantom drivers on semi-modern macOS versions (through macOS 10.14 Mojave).
Mozilla Public License 2.0
10 stars 0 forks source link
installer lego lego-ev3 lego-mindstorms lego-nxt mac macos macosx script

LEGO Mindstorms Fantom Drivers Mac Install Script

A script to install the LEGO Mindstorms Fantom drivers on semi-modern macOS versions (through macOS 10.14 Mojave).

Since macOS 10.15 Catalina dropped support for 32-bit, installing on newer versions of macOS is pointless.

Overview

The trouble with the native installer package, is that the installer tries to install a legacy codeless kernel extension named Fantom.kext. There are several problems with this.

Ultimately, this kernel extension appears to be completely unnecessary, as nothing actually appears to fail without it. The other parts of the driver are however needed to communicate with the Mindstorms brick.

This script will manually install only the necessary files from the official PKG installer, preserving the correct permissions, and ignoring the useless files.

Usage

  1. Download the legodriverinstaller.sh script.
  2. Obtain the official PKG installer file.
  3. Open a terminal to the directory of the legodriverinstaller.sh script.
  4. Give the script executable permissions so it can be run.
    chmod +x ./legodriverinstaller.sh
  5. Run the script, passing the path to the PKG installer.
    sudo ./legodriverinstaller.sh 'MAC legodriver.pkg'
  6. Profit.

License

Copyright (c) 2017 JrMasterModelBuilder

Licensed under the Mozilla Public License, v. 2.0.