<?xml version="1.0" encoding="utf-8"?>
<!-- Documentation under: https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html -->
<installer-script minSpecVersion="1">
    <title>Airport Madness 3D</title>
    <background mime-type="image/png" file="banner.png" scaling="proportional"/>
    <!-- dark mode logo, thanks to https://developer.apple.com/forums/thread/108056 -->
    <background-darkAqua mime-type="image/png" file="banner.png" scaling="proportional"/>
    <welcome file="welcome.html" mime-type="text/html"/>
    <conclusion file="conclusion.html" mime-type="text/html"/>
    <license file="LICENSE.txt"/>
    <options customize="never" allow-external-scripts="no"/>
    <domains enable_localSystem="true"/>
    <installation-check script="installCheck();"/>
    <script><![CDATA[
function installCheck() {
    if(!(system.compareVersions(system.version.ProductVersion, '10.6.0') >= 0)) {
        my.result.title = 'Unable to install';
        my.result.message = 'Airport Madness 3D requires Mac OS X 10.6 or later.';
        my.result.type = 'Fatal';
        return false;
    }
    if(system.files.fileExistsAtPath('/Applications/Airport Madness 3D.app')) {
        my.result.title = 'Previous Installation Detected';
        my.result.message = 'A previous installation of Airport Madness 3D exists at /Applications/Airport Madness 3D. This installer will remove the previous installation prior to installing. Please back up any data before proceeding.';
        my.result.type = 'Warning';
        return false;
    }
    return true;
}
]]></script>
    <choices-outline>
        <line choice="com.Big-Fat-Simulations-Inc..Airport-Madness-3D"/>
    </choices-outline>
    <choice id="com.Big-Fat-Simulations-Inc..Airport-Madness-3D" title="Airport Madness 3D">
        <pkg-ref id="com.Big-Fat-Simulations-Inc..Airport-Madness-3D"/>
    </choice>
    <pkg-ref id="com.Big-Fat-Simulations-Inc..Airport-Madness-3D" auth="Root" version="1.6415" installKBytes="729745" updateKBytes="0">#com.Big-Fat-Simulations-Inc..Airport-Madness-3D.pkg</pkg-ref>
    <pkg-ref id="com.Big-Fat-Simulations-Inc..Airport-Madness-3D">
        <bundle-version>
            <bundle CFBundleShortVersionString="1.6415" CFBundleVersion="0" id="com.Big-Fat-Simulations-Inc..Airport-Madness-3D" path="Airport Madness 3D.app"/>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="1" id="com.unity.purchasing.unitypurchasing" path="Airport Madness 3D.app/Contents/PlugIns/unitypurchasing.bundle"/>
            <bundle CFBundleVersion="1.60" id="com.rileylabrecque.steam_api" path="Airport Madness 3D.app/Contents/PlugIns/steam_api.bundle"/>
        </bundle-version>
    </pkg-ref>
</installer-script>