<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <title>Pathfinder</title>
    <organization>com.audiotechhub</organization>
    <license file="pathfinder-license.txt"/>
    <!-- customize="always" forces the component-selection pane so the user can
         pick VST3 and/or AU. hostArchitectures allows install on both. -->
    <options customize="always" require-scripts="false" rootVolumeOnly="true" hostArchitectures="arm64,x86_64"/>
    <choices-outline>
        <line choice="choice_vst3"/>
        <line choice="choice_au"/>
        <line choice="choice_resources"/>
    </choices-outline>
    <!-- hidden + always installed: the Sketch phone client the plugin serves
         over LAN (Interface.js reads it from /Library/Application Support) -->
    <choice id="choice_resources" visible="false" start_selected="true" enabled="false" title="Shared resources">
        <pkg-ref id="io.audiotechhub.paths.resources"/>
    </choice>
    <choice id="choice_vst3" visible="true" start_selected="true" start_enabled="true" title="VST3 plug-in" description="Installs Pathfinder.vst3 to /Library/Audio/Plug-Ins/VST3 (for Cubase, Live, FL Studio, Reaper, and other VST3 hosts).">
        <pkg-ref id="io.audiotechhub.paths.vst3"/>
    </choice>
    <choice id="choice_au" visible="true" start_selected="true" start_enabled="true" title="Audio Unit (AU)" description="Installs Pathfinder.component to /Library/Audio/Plug-Ins/Components (for Logic Pro, GarageBand, and other AU hosts).">
        <pkg-ref id="io.audiotechhub.paths.au"/>
    </choice>
    <pkg-ref id="io.audiotechhub.paths.vst3" version="1.0.8" installKBytes="36251" updateKBytes="0">#Pathfinder-VST3.pkg</pkg-ref>
    <pkg-ref id="io.audiotechhub.paths.au" version="1.0.8" installKBytes="36222" updateKBytes="0">#Pathfinder-AU.pkg</pkg-ref>
    <pkg-ref id="io.audiotechhub.paths.resources" version="1.0.8" installKBytes="239" updateKBytes="0">#Pathfinder-Resources.pkg</pkg-ref>
    <pkg-ref id="io.audiotechhub.paths.vst3">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.8" CFBundleVersion="1.0.8" id="io.audiotechhub.paths" path="Library/Audio/Plug-Ins/VST3/Pathfinder.vst3"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="io.audiotechhub.paths.au">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.8" CFBundleVersion="1.0.8" id="io.audiotechhub.paths" path="Library/Audio/Plug-Ins/Components/Pathfinder.component"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="io.audiotechhub.paths.resources">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>