<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <options rootVolumeOnly="true" hostArchitectures="arm64" customize="never"/>
    <domains enable_currentUserHome="true" enable_anywhere="false" enable_localSystem="false"/>
    <title>SLM Wire for OBS Studio</title>
    <choices-outline>
        <line choice="default"/>
    </choices-outline>
    <choice id="default" title="SLM Wire for OBS Studio">
        <pkg-ref id="com.slayradio.slm-wire-for-obs"/>
    </choice>
    <pkg-ref id="com.slayradio.slm-wire-for-obs" version="0.4.4" installKBytes="2822" updateKBytes="0">#component.pkg</pkg-ref>
    <installation-check script="installCheck();"/>
    <script>
        function installCheck() {
            if (system.compareVersions(system.version.ProductVersion, '12.0') == -1) {
                my.result.title = system.localizedStandardStringWithFormat(
                    'InstallationCheckError', system.localizedString('DISTRIBUTION_TITLE'));
                my.result.message = ' ';
                my.result.type = 'Fatal';
                return false;
            }
            return true;
        }
    </script>
    <pkg-ref id="com.slayradio.slm-wire-for-obs">
        <bundle-version>
            <bundle CFBundleShortVersionString="0.4.4" CFBundleVersion="5" id="com.slayradio.slm-wire-for-obs" path="Library/Application Support/obs-studio/plugins/slm-wire-for-obs.plugin"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>