Skip to content

Instantly share code, notes, and snippets.

@enterpriseosx
Created January 30, 2015 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save enterpriseosx/1b8917c87c96b3f25c21 to your computer and use it in GitHub Desktop.
Save enterpriseosx/1b8917c87c96b3f25c21 to your computer and use it in GitHub Desktop.
Firefox ESR Recipe for AutoPKG
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Download recipe for Firefox. Finds and downloads a Firefox release.
Values for RELEASE correspond to directories here: http://download-origin.cdn.mozilla.net/pub/mozilla.org/firefox/releases/
Some useful values are: 'latest', 'latest-10.0esr', 'latest-esr', 'latest-3.6', 'latest-beta'
LOCALE corresponds to directories at http://download-origin.cdn.mozilla.net/pub/mozilla.org/firefox/releases/$RELEASE/mac/
Examples include 'en-US', 'de', 'ja-JP-mac', 'sv-SE', and 'zh-TW'
No idea if all Firefox builds are available in all the same localizations, so you may need to verify that any particular
combination is offered.</string>
<key>Identifier</key>
<string>com.github.autopkg.download.firefox-rc-en_US</string>
<key>Input</key>
<dict>
<key>RELEASE</key>
<string>latest-esr</string>
<key>LOCALE</key>
<string>en_US</string>
<key>NAME</key>
<string>Firefox</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>product_name</key>
<string>firefox</string>
<key>release</key>
<string>%RELEASE%</string>
<key>locale</key>
<string>%LOCALE%</string>
</dict>
<key>Processor</key>
<string>MozillaURLProvider</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.dmg</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment