mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
* Remove 32-bit architecture as per JEP 449 * Replace all url with Azul Metadata API Fitted using `include_fields=sha256_hash`. * Fix JSON path not recognizing array * Introduce Zulu 21 * Run auto update * Remove unsupported version 6 * Introduce Zulu 22
39 lines
1.7 KiB
JSON
39 lines
1.7 KiB
JSON
{
|
|
"description": "Open Source Builds of Zulu With OpenJFX",
|
|
"homepage": "https://www.azul.com/products/zulu-community/zulufx/",
|
|
"version": "15.46.17",
|
|
"license": {
|
|
"identifier": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"url": "https://www.azulsystems.com/license/zulu_third_party_licenses.html"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cdn.azul.com/zulu/bin/zulu15.46.17-ca-fx-jre15.0.10-win_x64.zip",
|
|
"hash": "2703ad87a244e582d3de2d88b4e7bfc0703cf0656f854f140dd2c7bf6038b4e1",
|
|
"extract_dir": "zulu15.46.17-ca-fx-jre15.0.10-win_x64"
|
|
}
|
|
},
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=15&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=true&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
|
|
"jsonpath": "$..download_url",
|
|
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-fx-jre(?<java>[\\d.]+)-win)_x64.zip",
|
|
"replace": "${version}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
|
|
"extract_dir": "$matchName_x64",
|
|
"hash": {
|
|
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=15&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=true&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
|
|
"jp": "$..sha256_hash"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|