<?xml version="1.0" encoding="utf-8"?>
<installer-script authoringTool="com.apple.PackageMaker" authoringToolVersion="3.0.6" authoringToolBuild="201" minSpecVersion="1">
    <title>Рутокен Плагин</title>
    <options hostArchitectures="x86_64,arm64" customize="never" allow-external-scripts="no"/>
    <domains enable_currentUserHome="true"/>
    <installation-check script="pm_install_check();"/>
    <script>function pm_install_check() {
  if(!(/* &gt;= */ system.compareVersions(system.version.ProductVersion, '10.7.0') &gt;= 0)) {
    my.result.title = 'Операционная система не поддерживается';
    my.result.message = 'К сожалению, Ваша версия операционной системы не поддерживается. Установка возможно только на Mac OS X 10.7 и новее.';
    my.result.type = 'Fatal';
    return false;
  }
  return true;
}
</script>
    <choices-outline>
        <line choice="choice0"/>
    </choices-outline>
    <choice id="choice0" title="Rutoken Plugin">
        <pkg-ref id="ru.rutoken.RutokenPlugin.pkg"/>
        <pkg-ref id="ru.rutoken.ChromeExtension.pkg"/>
        <pkg-ref id="ru.rutoken.FireWyrmNativeMessageHost.pkg"/>
    </choice>
    <pkg-ref id="ru.rutoken.RutokenPlugin.pkg" auth="none" packageIdentifier="ru.rutoken.RutokenPlugin" installKBytes="28864">#RutokenPlugin.pkg</pkg-ref>
    <pkg-ref id="ru.rutoken.ChromeExtension.pkg" auth="none" packageIdentifier="ru.rutoken.ChromeExtension" installKBytes="1">#ChromeExtension.pkg</pkg-ref>
    <pkg-ref id="ru.rutoken.FireWyrmNativeMessageHost.pkg" auth="none" packageIdentifier="ru.rutoken.FireWyrmNativeMessageHost" installKBytes="1123">#FireWyrmNativeMessageHost.pkg</pkg-ref>
    <pkg-ref id="ru.rutoken.RutokenPlugin.pkg">
        <bundle-version>
            <bundle CFBundleShortVersionString="Rutoken Plugin 4.12.0.0" CFBundleVersion="4.12.0.0" id="ru.rutoken.RutokenPlugin" path="RutokenPlugin.plugin"/>
            <bundle SourceVersion="1572c78c1a48c1fce55d14d1c5c223604a2ffdf1" CFBundleShortVersionString="2.18.4" CFBundleVersion="2.18.4" id="ru.rutoken.rtpkcs11ecp" path="RutokenPlugin.plugin/Contents/MacOS/rtpkcs11ecp.framework"/>
        </bundle-version>
    </pkg-ref>
    <pkg-ref id="ru.rutoken.ChromeExtension.pkg">
        <bundle-version/>
    </pkg-ref>
    <pkg-ref id="ru.rutoken.FireWyrmNativeMessageHost.pkg">
        <bundle-version/>
    </pkg-ref>
    <product version="4.12.0.0"/>
</installer-script>