diff --git a/Code42/Code42-arm64.download.recipe b/Code42/Code42-arm64.download.recipe index 0de2f2a..3ad27cc 100644 --- a/Code42/Code42-arm64.download.recipe +++ b/Code42/Code42-arm64.download.recipe @@ -15,6 +15,15 @@ 1.1.0 Process + + Processor + DeprecationWarning + Arguments + + warning_message + 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. + + Arguments @@ -98,4 +107,4 @@ - \ No newline at end of file + diff --git a/Code42/Code42.download.recipe b/Code42/Code42.download.recipe index 916f576..449bdc8 100644 --- a/Code42/Code42.download.recipe +++ b/Code42/Code42.download.recipe @@ -3,25 +3,45 @@ Description - Downloads the latest Intel-based version of Code42. + 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) + Identifier com.github.apizz.download.Code42 Input NAME Code42 + ARCH + x86_64 MinimumVersion 1.1.0 Process + + Processor + com.github.homebysix.FindAndReplace/FindAndReplace + Arguments + + input_string + https://download-preservation.code42.com/installs/agent/latest-mac-%ARCH%.dmg + find + -x86_64 + replace + + + Arguments filename %NAME%.dmg url - https://download-preservation.code42.com/installs/agent/latest-mac.dmg + %output_string% Processor URLDownloader @@ -98,4 +118,4 @@ - \ No newline at end of file + diff --git a/Code42/Code42.munki.recipe b/Code42/Code42.munki.recipe index 1464f84..f485d5f 100644 --- a/Code42/Code42.munki.recipe +++ b/Code42/Code42.munki.recipe @@ -3,7 +3,12 @@ Description - Downloads the latest Intel-based version of Code42 and imports it into a munki_repo. + 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) + Identifier com.github.apizz.munki.Code42 Input @@ -43,7 +48,7 @@ %NAME% supported_architectures - x86_64 + %ARCH% uninstall_method uninstall_script diff --git a/Code42/Code42.pkg.recipe b/Code42/Code42.pkg.recipe index e1ad0b0..4219429 100644 --- a/Code42/Code42.pkg.recipe +++ b/Code42/Code42.pkg.recipe @@ -3,7 +3,12 @@ Description - Downloads the latest Intel-based version of Code42 and extracts the installer PKG. + 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) + Identifier com.github.apizz.pkg.Code42 Input @@ -30,4 +35,4 @@ - \ No newline at end of file +