<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!--
  productbuild distribution for the Axentra Print Bridge.

  Wraps the component package so the installer shows a real title, a welcome
  pane and the license, instead of the bare "axentra-print-bridge" a raw
  pkgbuild output presents. A cashier double-clicking this should see
  something that looks like it came from a company.
-->
<installer-gui-script minSpecVersion="2">
    <title>Axentra Print Bridge</title>
    <organization>com.axentra</organization>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <!-- Apple Silicon and Intel, both covered by the universal binary.
         hostArchitectures keeps the installer from refusing to run under
         Rosetta on an Intel machine. -->
    <options customize="never" require-scripts="true" hostArchitectures="x86_64,arm64"/>
    <!-- launchctl bootstrap gui/<uid> and /Library/LaunchAgents both need
         macOS 11 or newer. Older machines are past Apple's support window. -->
    <volume-check>
        <allowed-os-versions>
            <os-version min="11.0"/>
        </allowed-os-versions>
    </volume-check>
    <!-- Installs for every user on the machine, which is the point: a till
         may be shared across shifts. -->
    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
    <choices-outline>
        <line choice="default"/>
    </choices-outline>
    <choice id="default" title="Axentra Print Bridge">
        <pkg-ref id="com.axentra.print-bridge"/>
    </choice>
    <pkg-ref id="com.axentra.print-bridge" version="0.4.0" installKBytes="13615" updateKBytes="0">#axentra-print-bridge-component.pkg</pkg-ref>
    <pkg-ref id="com.axentra.print-bridge">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>