<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!--
  productbuild distribution definition for the deskbird Dock .pkg.

  Templated by scripts/build-macos-pkg.sh:
    deskbird Dock - productName from tauri.<env>.conf.json
                       (used as the installer window title)
    com.deskbird.client    - identifier from tauri.<env>.conf.json
                       (used as the choice id and pkg-ref id, and as the
                        component .pkg filename)
    0.1.3      - version from tauri.<env>.conf.json
                       (must match the value passed to the pkgbuild
                       version flag for the inner component package, so
                       installer receipts and MDM inventory show the real
                       version rather than a placeholder "0")

  customize="never"     - no choice UI; the user accepts the defaults and
                          the single component is installed straight away.
  require-scripts=false - the postinstall script lives inside the
                          component .pkg, not in the distribution wrapper.
  hostArchitectures     - both Intel and Apple Silicon are supported by
                          the universal Tauri build output.
  os-version min        - macOS 10.15 (Catalina) is the practical floor:
                          CoreLocation gating on CoreWLAN's SSID/BSSID
                          (which the network sensor depends on) was
                          introduced there, and the hardened-runtime
                          entitlement we require is fully supported.
-->
<installer-gui-script minSpecVersion="2">
    <title>deskbird Dock</title>
    <options customize="never" require-scripts="false" hostArchitectures="x86_64,arm64"/>
    <volume-check>
        <allowed-os-versions>
            <os-version min="10.15"/>
        </allowed-os-versions>
    </volume-check>
    <choices-outline>
        <line choice="default">
            <line choice="com.deskbird.client"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="com.deskbird.client" visible="false">
        <pkg-ref id="com.deskbird.client"/>
    </choice>
    <pkg-ref id="com.deskbird.client" version="0.1.3" onConclusion="none" installKBytes="12757" updateKBytes="0">#com.deskbird.client.pkg</pkg-ref>
    <pkg-ref id="com.deskbird.client">
        <bundle-version>
            <bundle CFBundleShortVersionString="0.1.3" CFBundleVersion="0.1.3" id="com.deskbird.client" path="deskbird Dock.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>