mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
43 lines
1.8 KiB
JSON
43 lines
1.8 KiB
JSON
{
|
|
"description": "BellSoft Liberica is a 100% open-source Java implementation",
|
|
"homepage": "https://bell-sw.com/java",
|
|
"version": "25.0.4-9",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/25.0.4%2B9/bellsoft-jdk25.0.4%2B9-windows-amd64.zip",
|
|
"hash": "sha1:9f107bdaffeff35e2cef7c3c915fb376d58c7038"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/25.0.4%2B9/bellsoft-jdk25.0.4%2B9-windows-aarch64.zip",
|
|
"hash": "sha1:f9379f38aae1f3d19f156edd59197b1a114ee763"
|
|
}
|
|
},
|
|
"extract_dir": "jdk-25.0.4",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://api.bell-sw.com/v1/liberica/releases?version-feature=25&bundle-type=jdk&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-jdk$matchMajor%2B$matchBuild-windows-amd64.zip"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/$matchMajor%2B$matchBuild/bellsoft-jdk$matchMajor%2B$matchBuild-windows-aarch64.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "https://api.bell-sw.com/v1/liberica/releases/$basename",
|
|
"jsonpath": "$.sha1"
|
|
},
|
|
"extract_dir": "jdk-$matchMajor"
|
|
}
|
|
}
|