autopkg / moofit-recipes

10 stars 27 forks source link

Update and enhance AdobeRemoteUpdate recipes #57

Closed jazzace closed 3 years ago

jazzace commented 3 years ago

I've deliberately separated the commits for the two files in case you don't want one but want the other.

The current AdobeRemoteUpdate.download recipe does not download versions past 2.4.0.3. There is a new URL which downloads the executable, suitable for use with Intel and Apple Silicon. I've chosen to hardcode the new URL into the processor argument so that current users of the recipe will receive the new URL without having to update their overrides.

As well, the current AdobeRemoteUpdate.pkg recipe requires that the user specify the version number via an input variable. I devised a method to obtain that value automatically by searching the executable for text in an embedded plist that provides the version number. I also removed the redundant reference to DOWNLOAD_URL in the input variables (whether you accept my other change or not, the presence of this would supersede the value for DOWNLOAD_URL in the parent; it does not need to be there either way).