<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <pkg-ref id="com.atelestechnology.atclean.audio">
        <bundle-version>
            <bundle CFBundleShortVersionString="" CFBundleVersion="" id="" path="Library/Audio/Plug-Ins/Components/ATClean.component/Contents/Resources/plugin.vst3"/>
            <bundle CFBundleShortVersionString="0.7.4" CFBundleVersion="0.7.4" id="com.ateles.atclean.audiounit" path="Library/Audio/Plug-Ins/Components/ATClean.component"/>
        </bundle-version>
    </pkg-ref>
    <options customize="never" require-scripts="false" hostArchitectures="arm64,x86_64"/>
    <choices-outline>
        <line choice="default">
            <line choice="com.atelestechnology.atclean.audio"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="com.atelestechnology.atclean.audio" visible="false">
        <pkg-ref id="com.atelestechnology.atclean.audio"/>
    </choice>
    <pkg-ref id="com.atelestechnology.atclean.audio" version="0.7.4" onConclusion="none" installKBytes="27555" updateKBytes="0">#component.pkg</pkg-ref>
    <title>ATClean — Limpeza de voz</title>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <installation-check script="atcleanInstallationCheck()"/>
    <volume-check script="atcleanInstallationCheck()"/>
    <script>/* Runs in Apple's Installer before installation/authentication. No external commands. */
function atcleanInstallationCheck() {
    var applications = system.applications.all();
    for (var i = 0; i &lt; applications.length; ++i) {
        var application = JSON.stringify(applications[i]).toLowerCase().replace(/[^a-z0-9]/g, '');
        if (application.indexOf('superrack') &gt;= 0 || application.indexOf('logicpro') &gt;= 0 || application.indexOf('logic10') &gt;= 0) {
            my.result.type = 'Fatal';
            my.result.title = system.localizedString('ATC_CLOSE_TITLE');
            my.result.message = system.localizedString('ATC_CLOSE_MESSAGE');
            system.log('ATClean preflight: close Logic Pro / SuperRack before installation.');
            return false;
        }
    }
    return true;
}
</script>
    <domains enable_localSystem="true" enable_currentUserHome="false" enable_anywhere="false"/>
</installer-gui-script>