Class: AbletonInfoMacOS

AbletonInfoMacOS()

Retrieves information about Ableton Live installations on macOS. Must be instantiated on macOS (darwin); throws otherwise.

Constructor

new AbletonInfoMacOS()

Source:
Throws:

When not running on macOS.

Type
Error

Classes

AbletonInfoMacOS

Members

defaultInstallRoot :string

The default directory where Ableton Live is installed on macOS.

Type:
  • string
Source:

installedVersions :Array.<LiveVersion>

All installed Ableton Live versions found in the default install root.

Type:
Source:

Methods

getInstalledLiveVersions(rootDirectoryopt) → {Array.<LiveVersion>}

Scans a directory for installed Ableton Live app bundles and returns their versions.

Parameters:
Name Type Attributes Default Description
rootDirectory string | null <optional>
null

Directory to search; defaults to defaultInstallRoot.

Source:
Returns:

Version info for each detected installation.

Type
Array.<LiveVersion>

getLiveVersionFromAppBundle(appBundlePath) → {LiveVersion}

Reads the version from an Ableton Live .app bundle's Info.plist.

Parameters:
Name Type Description
appBundlePath string

Absolute path to the .app bundle.

Source:
Throws:

When the plist cannot be read or parsed.

Type
Error
Returns:

The version and build extracted from the bundle.

Type
LiveVersion

getMacOSVersion() → {string}

Returns the macOS product version string (e.g. "14.5").

Source:
Returns:

The macOS version.

Type
string