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": "14.29.23",
|
|
"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/zulu14.29.23-ca-fx-jre14.0.2-win_x64.zip",
|
|
"hash": "3562a82e25e490c8069c6263dbaebddc3a10b831e24a8c41b5298c6c16330516",
|
|
"extract_dir": "zulu14.29.23-ca-fx-jre14.0.2-win_x64"
|
|
}
|
|
},
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=14&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=14&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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|