Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Code42/Code42-arm64.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
<string>1.1.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>DeprecationWarning</string>
<key>Arguments</key>
<dict>
<key>warning_message</key>
<string>The Code42 recipes in this repo have been combined. Use the ARCH input variable to specify "arm64" as the desired architecture in your override. The standalone Code42-arm64 recipes will be removed in the future.</string>
</dict>
</dict>
<dict>
<key>Arguments</key>
<dict>
Expand Down Expand Up @@ -98,4 +107,4 @@
</dict>
</array>
</dict>
</plist>
</plist>
26 changes: 23 additions & 3 deletions Code42/Code42.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,45 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest Intel-based version of Code42.</string>
<string>Downloads the latest version of Code42.

Provide the desired architecture in the ARCH variable. Options include:
- "x86_64" (default, downloads the Intel-based version)
- "arm64" (downloads the arm64 version)
</string>
<key>Identifier</key>
<string>com.github.apizz.download.Code42</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Code42</string>
<key>ARCH</key>
<string>x86_64</string>
</dict>
<key>MinimumVersion</key>
<string>1.1.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>com.github.homebysix.FindAndReplace/FindAndReplace</string>
<key>Arguments</key>
<dict>
<key>input_string</key>
<string>https://download-preservation.code42.com/installs/agent/latest-mac-%ARCH%.dmg</string>
<key>find</key>
<string>-x86_64</string>
<key>replace</key>
<string></string>
</dict>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.dmg</string>
<key>url</key>
<string>https://download-preservation.code42.com/installs/agent/latest-mac.dmg</string>
<string>%output_string%</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
Expand Down Expand Up @@ -98,4 +118,4 @@
</dict>
</array>
</dict>
</plist>
</plist>
9 changes: 7 additions & 2 deletions Code42/Code42.munki.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest Intel-based version of Code42 and imports it into a munki_repo.</string>
<string>Downloads the latest version of Code42 and imports it into a munki_repo.

Provide the desired architecture in the ARCH variable. Options include:
- "x86_64" (default, downloads the Intel-based version)
- "arm64" (downloads the arm64 version)
</string>
<key>Identifier</key>
<string>com.github.apizz.munki.Code42</string>
<key>Input</key>
Expand Down Expand Up @@ -43,7 +48,7 @@
<string>%NAME%</string>
<key>supported_architectures</key>
<array>
<string>x86_64</string>
<string>%ARCH%</string>
</array>
<key>uninstall_method</key>
<string>uninstall_script</string>
Expand Down
9 changes: 7 additions & 2 deletions Code42/Code42.pkg.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest Intel-based version of Code42 and extracts the installer PKG.</string>
<string>Downloads the latest version of Code42 and extracts the installer PKG.

Provide the desired architecture in the ARCH variable. Options include:
- "x86_64" (default, downloads the Intel-based version)
- "arm64" (downloads the arm64 version)
</string>
<key>Identifier</key>
<string>com.github.apizz.pkg.Code42</string>
<key>Input</key>
Expand All @@ -30,4 +35,4 @@
</dict>
</array>
</dict>
</plist>
</plist>