mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-08 15:07:36 +08:00
openjdk: checkver and autoupdate updates
This commit is contained in:
parent
935312b747
commit
b35c294cee
@ -15,13 +15,13 @@
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"re": "/jdk(?<major>[\\d.]+)/(?<random>[a-fA-F0-9]{32})/(?<build>[\\d]+)/GPL/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
|
||||
"re": "/(?<type>early_access|GA)/(?<path>jdk(?<major>[\\d.]+)(?:.*)?/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
|
||||
"replace": "${version}-${build}${ea}"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://download.java.net/java/GA/jdk$matchMajor/$matchRandom/$matchBuild/GPL/$matchFile"
|
||||
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
|
||||
@ -15,13 +15,13 @@
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"re": "/jdk(?<major>12[\\d.]*)/(?<random>[a-fA-F0-9]{32})/(?<build>[\\d]+)/GPL/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
|
||||
"re": "/(?<type>early_access|GA)/(?<path>jdk(?<major>[\\d.]+)(?:.*)?/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
|
||||
"replace": "${version}-${build}${ea}"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://download.java.net/java/GA/jdk$matchMajor/$matchRandom/$matchBuild/GPL/$matchFile"
|
||||
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
|
||||
@ -15,13 +15,13 @@
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"re": "/(?<type>early_access|GA)/jdk(?<major>13[\\d.]*)/(?<build>[\\d]+)/(?<random>([a-fA-F0-9]{32}|GPL|binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
|
||||
"re": "/(?<type>early_access|GA)/(?<path>jdk(?<major>[\\d.]+)(?:.*)?/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
|
||||
"replace": "${version}-${build}${ea}"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://download.java.net/java/$matchType/jdk$matchMajor/$matchBuild/$matchRandom/$matchFile"
|
||||
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user