Skip to main content
This page shows how to set up a macOS launcher built with DIRECT 6 or 7 so it can update itself to DIRECT 8. DIRECT 8 uses CEF 7559 (144.0.7559.231), which has macOS symlinks that need a specific setting. You also ship an interim build that detects the CPU architecture (Intel or Apple silicon) and uses a separate repository for each.

Update the self-update workflow

The self-update workflow should have separate task chains to download and then apply the new launcher files. In the apply chain, the repositorySync task must have cleanup: false:
selfupdate.yaml
Leave the other properties as they are, including delta: false, inplace: true and autoMask: false.

Detect Intel or Apple silicon

This macro returns the Mac’s CPU architecture:
  • Intel Macs get mac64.
  • Apple silicon Macs get macarm64.
Use it to give each architecture its own repository, for example launcher-mac64 and launcher-macarm64.

Build the interim launcher

The interim build needs:
  • A self-update workflow that can update from the DIRECT 6 or 7 CEF to the DIRECT 8 CEF.
  • Logic that routes your existing macOS launcher repository to two new repositories by architecture:
    • Intel: launcher-mac to launcher-mac64
    • Apple silicon: launcher-mac to launcher-macarm64
Use new repositories for both architectures. This makes sure every existing player goes through the interim build that can update to DIRECT 8, whenever they update.

Build, deploy and test

Build, deploy and test the interim launcher in your existing DIRECT 6 or 7 pipeline. What players see:
  • Everyone: the existing launcher updates itself to the interim build.
  • Apple silicon: the interim launcher checks for self-updates in launcher-macarm64.
  • Intel: the interim launcher checks for self-updates in launcher-mac64.
The interim release IDs can be the same for both, unless you have other architecture-specific changes. Test that:
  1. The existing launcher updates to the interim version (version A).
  2. The interim version can update itself with no local metafile.
  3. Recommended: a second interim iteration (version B) with the same changes, and version A updates to version B.