<?xml version="1.0" encoding="utf-8"?>
<installer-script minSpecVersion="1">
    <title>腾讯电脑管家</title>
    <!--    <background 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>
function installCheck() {
    if(!(system.compareVersions(system.version.ProductVersion, '10.15') &gt;= 0)) {
        my.result.title = '无法安装该软件';
        my.result.message = '该软件仅支持macOS10.15及以上系统.';
        my.result.type = 'Fatal';
        return false;
    }
<!--    if(system.files.fileExistsAtPath('/Library/__PRODUCT__/__VERSION__/')) {-->
        <!--        my.result.title = 'Previous Installation Detected';-->
        <!--        my.result.message = 'A previous installation of __PRODUCT__ exists at /Library/__PRODUCT__/__VERSION__/. 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>
    <pkg-ref id="腾讯电脑管家.pkg" auth="Root" packageIdentifier="com.tencent.TeamSecurityManager" version="$(MARKETING_VERSION)" installKBytes="99715">#TeamSecurityManager.pkg</pkg-ref>
    <choices-outline>
        <line choice="腾讯电脑管家"/>
    </choices-outline>
    <choice id="腾讯电脑管家" title="腾讯电脑管家">
        <pkg-ref id="腾讯电脑管家.pkg"/>
    </choice>
    <pkg-ref id="腾讯电脑管家.pkg">
        <bundle-version>
            <bundle CFBundleShortVersionString="2.0.0.1" CFBundleVersion="601" id="com.tencent.TeamSecurityManager.update" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMUpdate.app"/>
            <bundle CFBundleShortVersionString="0.1.2" CFBundleVersion="1" id="org.cocoapods.QMAppLoginItemManage" path="TeamSecurityManager.app/Contents/Frameworks/QMAppLoginItemManage.framework"/>
            <bundle CFBundleShortVersionString="0.0.1" CFBundleVersion="1" id="org.cocoapods.LemonStat" path="TeamSecurityManager.app/Contents/Frameworks/LemonStat.framework"/>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="1" id="com.tencent.TeamSecurityManager.LemonUninstaller" path="TeamSecurityManager.app/Contents/Frameworks/LemonUninstaller.framework"/>
            <bundle CFBundleShortVersionString="0.0.2" CFBundleVersion="1" id="org.cocoapods.QMUICommon" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMMonitor.app/Contents/Frameworks/QMUICommon.framework"/>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="1" id="com.tencent.TeamSecurityManager.LemonHardware" path="TeamSecurityManager.app/Contents/Frameworks/LemonHardware.framework"/>
            <bundle CFBundleShortVersionString="0.0.13" CFBundleVersion="1" id="org.cocoapods.QMCoreFunction" path="TeamSecurityManager.app/Contents/Frameworks/QMCoreFunction.framework"/>
            <bundle CFBundleShortVersionString="1.0.7" CFBundleVersion="1" id="org.cocoapods.WCDB" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMMonitor.app/Contents/Frameworks/WCDB.framework"/>
            <bundle CFBundleShortVersionString="0.0.5" CFBundleVersion="1" id="org.cocoapods.QMReport" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMMonitor.app/Contents/Frameworks/QMReport.framework"/>
            <bundle CFBundleShortVersionString="2.0.0.1" CFBundleVersion="601" id="com.tencent.TeamSecurityManager" path="TeamSecurityManager.app"/>
            <bundle CFBundleShortVersionString="1.2.1" CFBundleVersion="1" id="org.cocoapods.sqlcipher" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMUpdate.app/Contents/Frameworks/sqlcipher.framework"/>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="1" id="com.tencent.TeamSecurityManager.LemonNetSpeed" path="TeamSecurityManager.app/Contents/Frameworks/LemonNetSpeed.framework"/>
            <bundle CFBundleShortVersionString="2.0.0.1" CFBundleVersion="601" id="com.tencent.TeamSecurityManager.monitor.TMNetworkFilterExtension" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMMonitor.app/Contents/Library/SystemExtensions/com.tencent.TeamSecurityManager.monitor.TMNetworkFilterExtension.systemextension"/>
            <bundle CFBundleShortVersionString="1.2.2" CFBundleVersion="1" id="org.cocoapods.sqliterk" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMUpdate.app/Contents/Frameworks/sqliterk.framework"/>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="1" id="com.tencent.TeamSecurityManager.LemonLoginItemManager" path="TeamSecurityManager.app/Contents/Frameworks/LemonLoginItemManager.framework"/>
            <bundle CFBundleShortVersionString="3.2.1" CFBundleVersion="1" id="org.cocoapods.AFNetworking" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMMonitor.app/Contents/Frameworks/AFNetworking.framework"/>
            <bundle CFBundleShortVersionString="2.7.5" CFBundleVersion="1" id="org.cocoapods.FMDB" path="TeamSecurityManager.app/Contents/Frameworks/FMDB.framework"/>
            <bundle CFBundleShortVersionString="5.12.1" CFBundleVersion="1" id="org.cocoapods.SDWebImage" path="TeamSecurityManager.app/Contents/Frameworks/SDWebImage.framework"/>
            <bundle CFBundleShortVersionString="1.1.0" CFBundleVersion="1" id="org.cocoapods.Masonry" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMMonitor.app/Contents/Frameworks/Masonry.framework"/>
            <bundle CFBundleShortVersionString="3.3.0" CFBundleVersion="1" id="org.cocoapods.MJExtension" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMMonitor.app/Contents/Frameworks/MJExtension.framework"/>
            <bundle CFBundleShortVersionString="1.0" CFBundleVersion="1" id="com.tencent.TMCommon" path="TeamSecurityManager.app/Contents/Frameworks/TMCommon.framework"/>
            <bundle CFBundleShortVersionString="2.0.0.1" CFBundleVersion="601" id="com.tencent.TeamSecurityManager.monitor" path="TeamSecurityManager.app/Contents/Library/LoginItems/TMMonitor.app"/>
        </bundle-version>
    </pkg-ref>
</installer-script>