<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!-- Installer definition for Binogi-Claude-Setup.pkg. Built by client/build-mac-pkg.sh,
     which replaces 2026.11.03. The installation check stops on macOS older than 15.1
     (the Cloudflare app's minimum) with steps to update; keep it equal to MIN_MACOS
     in client/install-mac.sh. -->
<installer-gui-script minSpecVersion="2">
    <title>Binogi Claude</title>
    <organization>ai.binogi</organization>
    <domains enable_localSystem="true" enable_anywhere="false" enable_currentUserHome="false"/>
    <options customize="never" require-scripts="true" rootVolumeOnly="true" hostArchitectures="arm64,x86_64"/>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <installation-check script="binogiCheck()"/>
    <script><![CDATA[
function binogiCheck() {
  var have = system.version.ProductVersion;
  if (system.compareVersions(have, '15.1') < 0) {
    my.result.type = 'Fatal';
    my.result.title = 'Update macOS first';
    my.result.message = 'This Mac runs macOS ' + have + '. Binogi Claude needs macOS 15.1 or newer.\n\n' +
      'Open the Apple menu, then System Settings, General, Software Update. Install the update, ' +
      'restart, and open this installer again.\n\n' +
      'If your Mac cannot update to 15.1, ask in #claude-help.';
    return false;
  }
  return true;
}
  ]]></script>
    <choices-outline>
        <line choice="default">
            <line choice="ai.binogi.claude.setup"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="ai.binogi.claude.setup" visible="false">
        <pkg-ref id="ai.binogi.claude.setup"/>
    </choice>
    <pkg-ref id="ai.binogi.claude.setup" version="2026.11.03" onConclusion="none" installKBytes="0" updateKBytes="0">#setup.pkg</pkg-ref>
    <pkg-ref id="ai.binogi.claude.setup">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>