<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!--
  Installer layout for the downloadable package.

  Deliberately not customizable: there is exactly one thing to install, and an
  installer that offers choices about it only invites someone to deselect the
  application and end up with nothing.
-->
<installer-gui-script minSpecVersion="2">
    <title>TrafficWeaver</title>
    <organization>dev.trafficweaver</organization>
    <options customize="never" require-scripts="false" hostArchitectures="arm64,x86_64"/>
    <!--
      The system extension this app installs needs macOS 13. Refusing here gives a
      plain "this needs a newer macOS" at install time, instead of an app that
      launches on an old system and then fails to activate its extension with an
      error nobody can act on.
    -->
    <volume-check>
        <allowed-os-versions>
            <os-version min="13.0"/>
        </allowed-os-versions>
    </volume-check>
    <choices-outline>
        <line choice="default">
            <line choice="dev.trafficweaver.app.pkg"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="dev.trafficweaver.app.pkg" visible="false">
        <pkg-ref id="dev.trafficweaver.app.pkg"/>
    </choice>
    <pkg-ref id="dev.trafficweaver.app.pkg" version="0.1.1" onConclusion="none" installKBytes="11861" updateKBytes="0">#component.pkg</pkg-ref>
    <pkg-ref id="dev.trafficweaver.app.pkg">
        <bundle-version>
            <bundle CFBundleShortVersionString="0.1.1" CFBundleVersion="56" id="dev.trafficweaver.app" path="TrafficWeaver.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>