mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
36 lines
1.4 KiB
JSON
36 lines
1.4 KiB
JSON
{
|
|
"description": "SapMachine 17: An OpenJDK release maintained and supported by SAP",
|
|
"homepage": "https://sap.github.io/SapMachine/",
|
|
"version": "17.0.20",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/SAP/SapMachine/releases/download//sapmachine-17.0.20/sapmachine-jre-17.0.20_windows-x64_bin.zip",
|
|
"hash": "516b013f68821d87ba85b6d202c054bc590127f71e6fe5bf02bbac3596e8774a"
|
|
}
|
|
},
|
|
"extract_dir": "sapmachine-jre-17.0.20",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://sap.github.io/SapMachine/assets/data/sapmachine_releases.json",
|
|
"jsonpath": "$.assets.17.releases[0].jre.windows-x64",
|
|
"re": "(?<sap>/sapmachine-(?:[\\d.]+)(?:\\%2B|\\+)?(?:[\\d]*)/sapmachine-jre-(?<version>[\\d.]+)(?:(?<dash>-)(?<ea>ea)\\.(?<build>[\\d]+))?_windows-x64_bin).zip",
|
|
"replace": "${version}${dash}${build}${dash}${ea}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/SAP/SapMachine/releases/download/$matchSap.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "https://github.com/SAP/SapMachine/releases/download/$matchSap.sha256.txt",
|
|
"find": "^($sha256)\\s"
|
|
},
|
|
"extract_dir": "sapmachine-jre-$matchVersion"
|
|
}
|
|
}
|