<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>The-One 1.0.1</title>
    <organization>com.nerveaudio.the-one</organization>
    <domains enable_localSystem="true"/>
    <options customize="allow" require-scripts="false" hostArchitectures="x86_64,arm64"/>
    <!-- Minimum macOS version -->
    <volume-check>
        <allowed-os-versions>
            <os-version min="11.0"/>
        </allowed-os-versions>
    </volume-check>
    <!-- Welcome and License screens -->
    <welcome file="welcome.html" mime-type="text/html"/>
    <license file="license.html" mime-type="text/html"/>
    <!-- Component choices -->
    <choices-outline>
        <line choice="choice-vst3"/>
        <line choice="choice-au"/>
        <line choice="choice-standalone"/>
    </choices-outline>
    <choice id="choice-vst3" title="VST3 Plugin" description="Installs The-One.vst3 to /Library/Audio/Plug-Ins/VST3/" selected="true" enabled="true">
        <pkg-ref id="com.nerveaudio.the-one.vst3"/>
    </choice>
    <choice id="choice-au" title="Audio Unit Plugin" description="Installs The-One.component to /Library/Audio/Plug-Ins/Components/" selected="true" enabled="true">
        <pkg-ref id="com.nerveaudio.the-one.au"/>
    </choice>
    <choice id="choice-standalone" title="Standalone Application" description="Installs The-One.app to /Applications/NerveAudio/" selected="true" enabled="true">
        <pkg-ref id="com.nerveaudio.the-one.standalone"/>
    </choice>
    <!-- Package references -->
    <pkg-ref id="com.nerveaudio.the-one.vst3" version="1.0.1" onConclusion="none" installKBytes="21560">#vst3.pkg</pkg-ref>
    <pkg-ref id="com.nerveaudio.the-one.au" version="1.0.1" onConclusion="none" installKBytes="21532">#au.pkg</pkg-ref>
    <pkg-ref id="com.nerveaudio.the-one.standalone" version="1.0.1" onConclusion="none" installKBytes="22487">#standalone.pkg</pkg-ref>
    <pkg-ref id="com.nerveaudio.the-one.vst3">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.1" CFBundleVersion="1.0.1" id="com.NerveAudio.TheOne" path="Library/Audio/Plug-Ins/VST3/The-One.vst3"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.nerveaudio.the-one.au">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.1" CFBundleVersion="1.0.1" id="com.NerveAudio.TheOne" path="Library/Audio/Plug-Ins/Components/The-One.component"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="com.nerveaudio.the-one.standalone">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.0.1" CFBundleVersion="1.0.1" id="com.NerveAudio.TheOne" path="The-One.app"/>
        </bundle-version>
    </pkg-ref>
    <product version="1.0.1"/>
</installer-gui-script>