Update Egnyte Drive.download.recipe
<string>com.github.dataJAR-recipes.download.Egnyte Drive</string>
<key>Input</key>
<dict>
- <key>LOCALE</key>
- <string>en-us</string>
<key>NAME</key>
<string>Egnyte Drive</string>
- <key>USER_AGENT</key>
- <string>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15</string>
</dict>
<key>MinimumVersion</key>
- <string>1.0.1</string>
+ <string>1.1</string>
<key>Process</key>
<array>
<dict>
- <key>Arguments</key>
- <dict>
- <key>re_pattern</key>
- <string>https:\/\/egnyte-cdn\.egnyte\.com\/egnytedrive\/mac\/%LOCALE%\/(?P&lt;version&gt;[\d\.]+)\/EgnyteConnect_[\d\.]+_(?P&lt;match&gt;[\w]+)\.pkg</string>
- <key>url</key>
- <string>https://helpdesk.egnyte.com/hc/en-us/articles/205237150-Download-Desktop-App-Egnyte-Drive-Installers</string>
- <key>request_headers</key>
- <dict>
- <key>User-Agent</key>
- <string>%USER_AGENT%</string>
- </dict>
- </dict>
<key>Processor</key>
- <string>URLTextSearcher</string>
- </dict>
- <dict>
+ <string>DeprecationWarning</string>
<key>Arguments</key>
<dict>
- <key>filename</key>
- <string>%NAME%.pkg</string>
- <key>url</key>
- <string>https://egnyte-cdn.egnyte.com/egnytedrive/mac/%LOCALE%/%version%/EgnyteConnect_%version%_%match%.pkg</string>
+ <key>warning_message</key>
+ <string>Egnyte Drive has been replaced with Egyte Connect. Recipes are available for Egnyte Connect.</string>
</dict>
- <key>Processor</key>
- <string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
- <string>EndOfCheckPhase</string>
- </dict>
- <dict>
+ <string>StopProcessingIf</string>
<key>Arguments</key>
<dict>
- <key>expected_authority_names</key>
- <array>
- <string>Developer ID Installer: Egnyte Inc (FELUD555VC)</string>
- <string>Developer ID Certification Authority</string>
- <string>Apple Root CA</string>
- </array>
- <key>input_path</key>
- <string>%pathname%</string>
+ <key>predicate</key>
+ <string>TRUEPREDICATE</string>
</dict>
- <key>Processor</key>
- <string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
