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": "16.32.15",
|
|
"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/zulu16.32.15-ca-fx-jre16.0.2-win_x64.zip",
|
|
"hash": "47da0ce94ef4b9a5ecac74d25d22fe068ea19d72dcb7794b27d996b80dd9defb",
|
|
"extract_dir": "zulu16.32.15-ca-fx-jre16.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=16&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=16&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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|