-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modified Geneious download recipe to support latest version (2019) #96
base: master
Are you sure you want to change the base?
Conversation
Because the download url for Geneious Prime slightly diverges from the information found in the versions.txt an additional RegexReplace Processor is required. With the modified download recipe both version (20 and 2019) can be downloaded by modifiying the input variables.
I'll test and merge this tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change
Bump @CWhits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check the formatting on the regex replace processor. I don't think it will work as-is.
@@ -35,6 +35,19 @@ See http://desktop-links.geneious.com/assets/installers/geneious/GeneiousVersion | |||
<string>%MAJOR_VERSION% %RELEASE% %RELEASE%.*(Geneious.*mac.*dmg)</string> | |||
</dict> | |||
</dict> | |||
<dict> | |||
<key>Processor</key> | |||
<string>RegexReplace</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this needs to be formatted like so:
<string>com.github.n8felton.shared/RegexReplace</string>
Because the download URL for Geneious Prime slightly diverges from the
information found in the versions.txt an additional RegexReplace Processor is required.
With the modified download recipe both versions (20 and 2019) can be downloaded by
modifying the input variables.
As discussed in autopkg/autopkg#442 it makes more sense to add the processor for only this recipe, as not many other recipes currently need a RegexReplace processor.