<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!-- productbuild distribution for the unified ClipMind installer.
     0.0.44 is stamped by build-pkg.sh. Bare strings in <title> and the
     localizedString keys resolve via resources/<lang>.lproj/Localizable.strings. -->
<installer-gui-script minSpecVersion="1">
    <title>ClipMind for Premiere Pro</title>
    <welcome file="welcome.html"/>
    <conclusion file="conclusion.html"/>
    <options customize="never" require-scripts="true" rootVolumeOnly="true"/>
    <domains enable_localSystem="true"/>
    <!-- Fail fast when Adobe Creative Cloud (which provides UPIA) is missing:
       installing only the CEP half would be a broken state. -->
    <installation-check script="checkUPIA()"/>
    <script><![CDATA[
    function checkUPIA() {
      if (system.files.fileExistsAtPath(
        '/Library/Application Support/Adobe/Adobe Desktop Common/RemoteComponents/UPI/UnifiedPluginInstallerAgent/UnifiedPluginInstallerAgent.app')) {
        return true;
      }
      my.result.title = system.localizedString('UPIA_MISSING_TITLE');
      my.result.message = system.localizedString('UPIA_MISSING_MSG');
      my.result.type = 'Fatal';
      return false;
    }
  ]]></script>
    <choices-outline>
        <line choice="default"/>
    </choices-outline>
    <choice id="default" title="ClipMind">
        <pkg-ref id="com.shortclip.hebrew.pkg"/>
    </choice>
    <pkg-ref id="com.shortclip.hebrew.pkg" version="0.0.44" installKBytes="611" updateKBytes="0">#component.pkg</pkg-ref>
    <pkg-ref id="com.shortclip.hebrew.pkg">
        <bundle-version/>
    </pkg-ref>
</installer-gui-script>