mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
50 lines
2.2 KiB
JSON
50 lines
2.2 KiB
JSON
{
|
|
"description": "BellSoft Liberica is a 100% open-source Java implementation",
|
|
"homepage": "https://bell-sw.com/java",
|
|
"version": "21.0.12-10",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/21.0.12%2B10/bellsoft-jre21.0.12%2B10-windows-amd64.zip",
|
|
"hash": "sha1:6a47b1f06464c2c23caa7024e6dda2d705732dc3"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/21.0.12%2B10/bellsoft-jre21.0.12%2B10-windows-i586.zip",
|
|
"hash": "sha1:171b71422ceba9621ee4277f0460d2e3a423bf38"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/21.0.12%2B10/bellsoft-jre21.0.12%2B10-windows-aarch64.zip",
|
|
"hash": "sha1:236ff46806abbc5e0e375b8c165e42367d88c2f7"
|
|
}
|
|
},
|
|
"extract_dir": "jre-21.0.12",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://api.bell-sw.com/v1/liberica/releases?version-feature=21&bundle-type=jre&version-modifier=latest&release-type=all&os=windows&arch=x86&installation-type=archive&package-type=zip&output=json&fields=version",
|
|
"jsonpath": "$[*].version",
|
|
"regex": "(?<major>[\\d.]+)(?:\\+)(?<build>[\\d]+)",
|
|
"replace": "${major}-${build}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/$matchMajor%2B$matchBuild/bellsoft-jre$matchMajor%2B$matchBuild-windows-amd64.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/$matchMajor%2B$matchBuild/bellsoft-jre$matchMajor%2B$matchBuild-windows-i586.zip"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/$matchMajor%2B$matchBuild/bellsoft-jre$matchMajor%2B$matchBuild-windows-aarch64.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "https://api.bell-sw.com/v1/liberica/releases/$basename",
|
|
"jsonpath": "$.sha1"
|
|
},
|
|
"extract_dir": "jre-$matchMajor"
|
|
}
|
|
}
|