<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="2">
    <title>Dot &amp; Dash</title>
    <organization>com.everydaymactools</organization>
    <options customize="never" require-scripts="false" hostArchitectures="arm64,x86_64"/>
    <volume-check>
        <allowed-os-versions>
            <os-version min="14.0"/>
        </allowed-os-versions>
    </volume-check>
    <installation-check script="dotAndDashCheck()"/>
    <script><![CDATA[
function dotAndDashCheck() {
    try {
        var bundle = system.files.bundleAtPath('/Applications/Dot & Dash.app');
        if (bundle && bundle.CFBundleIdentifier == 'com.everydaymactools.dotanddash.appstore') {
            my.result.title = 'Dot & Dash';
            my.result.message = 'Dot & Dash from the App Store is installed in Applications. Move it to the Trash first, then open this installer again.';
            my.result.type = 'Fatal';
            return false;
        }
    } catch (e) {}
    return true;
}
]]></script>
    <choices-outline>
        <line choice="default"/>
    </choices-outline>
    <choice id="default" title="Dot &amp; Dash">
        <pkg-ref id="com.everydaymactools.dotanddash"/>
    </choice>
    <pkg-ref id="com.everydaymactools.dotanddash" version="1.4.0" installKBytes="18608" updateKBytes="0">#DotAndDash-component.pkg</pkg-ref>
    <pkg-ref id="com.everydaymactools.dotanddash">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.4.0" CFBundleVersion="1" id="com.everydaymactools.dotanddash" path="Dot &amp; Dash.app"/>
        </bundle-version>
    </pkg-ref>
</installer-gui-script>