Skip to content

electron.payload_choice

Pure helpers used by the Electron main process to build compatible payload version lists for the tray Backend Versions submenu and for optional Choose Backend Version prompts during install/update flows.

Functions

  • orderedCompatiblePayloadVersions(payloads, compatiblePayloads) — versions from the payload index that satisfy the launcher compatibility range, newest first (same ordering as the tray menu).
  • installableOnlyPayloadVersions(compatibleOrderedDescending, installedVersions) — compatible versions that are not yet installed locally.
  • payloadChooserOffersMultipleVersions(compatibleOrderedDescending)true when more than one compatible version exists (the optional chooser is only offered in that case).

Integration