Skip to content

Comments

Create libericajdk8ltsfull.sh#1204

Merged
scriptingosx merged 1 commit intoInstallomator:mainfrom
drewdiver:libericajdk8ltsfull
Oct 13, 2023
Merged

Create libericajdk8ltsfull.sh#1204
scriptingosx merged 1 commit intoInstallomator:mainfrom
drewdiver:libericajdk8ltsfull

Conversation

@drewdiver
Copy link
Contributor

We are beginning to use Liberica JDK 8 LTS Full at my company and I thought I would share the label I made to allow use with Installomator.

Their JDK 8 specifically is erm "Special" in that the version in the package is condensed to 8u382+6 while the /Library/Java/JavaVirtualMachines/liberica-jdk-8-full/Contents/Info.plist reveals 1.8.0_382-b06. The other LTS versions match.

They have an open API to query the latest where you receive a JSON payload. Using one call I can get the bits of info I need and match a section of the CFBundleVersion to the updateVersion from the JSON.

Using this string we can then get a download link without further JSON parsing.

I would have used their GitHub release page but they lump all various versions (8 / 11 /17 / 20) together. I feel by using their API, I can ensure the correct link.

@scriptingosx scriptingosx added the application adds or improves an application label label Oct 13, 2023
@scriptingosx scriptingosx added this to the v10.5 milestone Oct 13, 2023
@scriptingosx
Copy link
Collaborator

Thank you!

@scriptingosx scriptingosx merged commit 8e90c66 into Installomator:main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application adds or improves an application label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants