<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>Planes</title>
    <organization>com.Perxal</organization>
    <!-- customize="always" → the user always sees the format checkboxes. -->
    <options customize="always" require-scripts="false" rootVolumeOnly="true" hostArchitectures="arm64,x86_64"/>
    <welcome file="welcome.html" mime-type="text/html"/>
    <license file="license.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <!-- The choices the user can toggle. -->
    <choices-outline>
        <line choice="choice_vst3"/>
        <line choice="choice_au"/>
        <line choice="choice_docs"/>
    </choices-outline>
    <choice id="choice_vst3" title="VST3" description="Install the VST3 plug-in into /Library/Audio/Plug-Ins/VST3. Works in most modern DAWs (Reaper, Cubase, Studio One, Live, Bitwig…).">
        <pkg-ref id="com.Perxal.Planes.vst3.pkg"/>
    </choice>
    <choice id="choice_au" title="Audio Unit (AU)" description="Install the Audio Unit into /Library/Audio/Plug-Ins/Components. Required for Logic Pro and GarageBand.">
        <pkg-ref id="com.Perxal.Planes.au.pkg"/>
    </choice>
    <choice id="choice_docs" title="Manuals and README" description="The Planes manuals — the six-page PDF and the browsable HTML reference with sidebar and search — in English and Spanish, plus the README, in /Library/Application Support/Perxal/Planes.">
        <pkg-ref id="com.Perxal.Planes.docs.pkg"/>
    </choice>
    <!-- File names here must match the component pkgs in the package-path dir. -->
    <pkg-ref id="com.Perxal.Planes.vst3.pkg" version="1.0.0" installKBytes="11536" updateKBytes="0">#Planes-VST3.pkg</pkg-ref>
    <pkg-ref id="com.Perxal.Planes.au.pkg" version="1.0.0" installKBytes="11344" updateKBytes="0">#Planes-AU.pkg</pkg-ref>
    <pkg-ref id="com.Perxal.Planes.docs.pkg" version="1.0.0" installKBytes="1700" updateKBytes="0">#Planes-Docs.pkg</pkg-ref>
    <pkg-ref id="com.Perxal.Planes.vst3.pkg">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.0" CFBundleVersion="1.0.0" id="com.Perxal.vst3.Planes" path="Planes.vst3"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.Perxal.Planes.au.pkg">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.0" CFBundleVersion="1.0.0" id="com.Perxal.audiounit.Planes" path="Planes.component"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.Perxal.Planes.docs.pkg">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>