<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>Transit 1.0.0</title>
    <organization>tw.digilog</organization>
    <options customize="always" require-scripts="false" hostArchitectures="x86_64,arm64"/>
    <domains enable_localSystem="true"/>
    <!-- follows system appearance: cream in light mode, ink in dark mode -->
    <background file="installer-bg-light.png" alignment="center" scaling="tofit"/>
    <background-darkAqua file="installer-bg-dark.png" alignment="center" scaling="tofit"/>
    <choices-outline>
        <line choice="au"/>
        <line choice="vst3"/>
        <line choice="clap"/>
        <line choice="standalone"/>
    </choices-outline>
    <choice id="au" title="Audio Unit (AU)" description="Install the AU (Logic, GarageBand). → /Library/Audio/Plug-Ins/Components">
        <pkg-ref id="tw.digilog.transit.au"/>
    </choice>
    <choice id="vst3" title="VST3" description="Install the VST3 (Cubase, Live, Reaper…). → /Library/Audio/Plug-Ins/VST3">
        <pkg-ref id="tw.digilog.transit.vst3"/>
    </choice>
    <choice id="clap" title="CLAP" description="Install the CLAP (Bitwig, Reaper…). → /Library/Audio/Plug-Ins/CLAP">
        <pkg-ref id="tw.digilog.transit.clap"/>
    </choice>
    <choice id="standalone" title="Standalone App" description="Install the standalone Transit.app. → /Applications">
        <pkg-ref id="tw.digilog.transit.standalone"/>
    </choice>
    <pkg-ref id="tw.digilog.transit.au" version="1.0.0" installKBytes="20824" updateKBytes="0">#transit-au.pkg</pkg-ref>
    <pkg-ref id="tw.digilog.transit.vst3" version="1.0.0" installKBytes="21400" updateKBytes="0">#transit-vst3.pkg</pkg-ref>
    <pkg-ref id="tw.digilog.transit.clap" version="1.0.0" installKBytes="18975" updateKBytes="0">#transit-clap.pkg</pkg-ref>
    <pkg-ref id="tw.digilog.transit.standalone" version="1.0.0" installKBytes="21296" updateKBytes="0">#transit-app.pkg</pkg-ref>
    <pkg-ref id="tw.digilog.transit.au">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.0" CFBundleVersion="1.0.0" id="tw.digilog.transit" path="Transit.component"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="tw.digilog.transit.vst3">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.0" CFBundleVersion="1.0.0" id="tw.digilog.transit" path="Transit.vst3"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="tw.digilog.transit.clap">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.0" CFBundleVersion="1.0.0" id="tw.digilog.transit" path="Transit.clap"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="tw.digilog.transit.standalone">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.0" CFBundleVersion="1.0.0" id="tw.digilog.transit" path="Transit.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>