From 141be1122cf357b06a1a70cc3ea36b1df7f37a5f Mon Sep 17 00:00:00 2001 From: Mathias Hermansson Date: Wed, 7 Apr 2021 21:10:19 +0200 Subject: [PATCH] jmc: Update to version 8.0.0-13 (#268) * jmc: Update to version 8.0.0-13 * jmc7: Disable autoupdate * jmc: Fix extract_dir --- bucket/jmc.json | 12 ++++++------ bucket/jmc7.json | 20 ++++++++++++++++++++ bucket/jmc8.json | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 bucket/jmc7.json create mode 100644 bucket/jmc8.json diff --git a/bucket/jmc.json b/bucket/jmc.json index d8d7a02c4..e30f98931 100644 --- a/bucket/jmc.json +++ b/bucket/jmc.json @@ -1,15 +1,15 @@ { "description": "JDK Mission Control", "homepage": "https://openjdk.java.net/projects/jmc/", - "version": "7.1.2-04", + "version": "8.0.0-13", "license": "UPL-1.0", "architecture": { "64bit": { - "url": "https://download.java.net/java/GA/jmc7/04/binaries/jmc-7.1.2_windows-x64.zip", - "hash": "b2dc4cc3e0b32dfcda0e71136452ccd39a3a076dd66c2b7824be0d52bc7c852e" + "url": "https://download.java.net/java/GA/jmc8/13/binaries/jmc-8.0.0_windows-x64.zip", + "hash": "866e3799162f90c230abdd1d0aa9ba82180603904dc6eea03b588732852241d8" } }, - "extract_dir": "jmc-7.1.2_windows-x64\\bin", + "extract_dir": "jmc-8.0.0_windows-x64\\JDK Mission Control", "shortcuts": [ [ "jmc.exe", @@ -18,7 +18,7 @@ ], "persist": "configuration", "checkver": { - "url": "https://jdk.java.net/jmc/", + "url": "https://jdk.java.net/jmc/8/", "re": "/(?early_access|GA)/(?jmc(?[\\d.]+)(?:.*)?/(?[\\d]+)(?:/GPL|/binaries|/UPL)?)/(?jmc-(?[\\d.]+)(?-ea)?(?:\\+[\\d]+)?_windows-x64(?:_bin)?\\.(?:zip|tar.gz))", "replace": "${version}-${build}${ea}" }, @@ -32,6 +32,6 @@ "url": "$url.sha256", "find": "$sha256\\s" }, - "extract_dir": "jmc-$matchVersion_windows-x64\\bin" + "extract_dir": "jmc-$matchVersion_windows-x64\\JDK Mission Control" } } diff --git a/bucket/jmc7.json b/bucket/jmc7.json new file mode 100644 index 000000000..027a97caa --- /dev/null +++ b/bucket/jmc7.json @@ -0,0 +1,20 @@ +{ + "description": "JDK Mission Control", + "homepage": "https://openjdk.java.net/projects/jmc/", + "version": "7.1.2-04", + "license": "UPL-1.0", + "architecture": { + "64bit": { + "url": "https://download.java.net/java/GA/jmc7/04/binaries/jmc-7.1.2_windows-x64.zip", + "hash": "b2dc4cc3e0b32dfcda0e71136452ccd39a3a076dd66c2b7824be0d52bc7c852e" + } + }, + "extract_dir": "jmc-7.1.2_windows-x64\\bin", + "shortcuts": [ + [ + "jmc.exe", + "JDK Mission Control" + ] + ], + "persist": "configuration" +} diff --git a/bucket/jmc8.json b/bucket/jmc8.json new file mode 100644 index 000000000..e30f98931 --- /dev/null +++ b/bucket/jmc8.json @@ -0,0 +1,37 @@ +{ + "description": "JDK Mission Control", + "homepage": "https://openjdk.java.net/projects/jmc/", + "version": "8.0.0-13", + "license": "UPL-1.0", + "architecture": { + "64bit": { + "url": "https://download.java.net/java/GA/jmc8/13/binaries/jmc-8.0.0_windows-x64.zip", + "hash": "866e3799162f90c230abdd1d0aa9ba82180603904dc6eea03b588732852241d8" + } + }, + "extract_dir": "jmc-8.0.0_windows-x64\\JDK Mission Control", + "shortcuts": [ + [ + "jmc.exe", + "JDK Mission Control" + ] + ], + "persist": "configuration", + "checkver": { + "url": "https://jdk.java.net/jmc/8/", + "re": "/(?early_access|GA)/(?jmc(?[\\d.]+)(?:.*)?/(?[\\d]+)(?:/GPL|/binaries|/UPL)?)/(?jmc-(?[\\d.]+)(?-ea)?(?:\\+[\\d]+)?_windows-x64(?:_bin)?\\.(?:zip|tar.gz))", + "replace": "${version}-${build}${ea}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.java.net/java/$matchType/$matchPath/$matchFile" + } + }, + "hash": { + "url": "$url.sha256", + "find": "$sha256\\s" + }, + "extract_dir": "jmc-$matchVersion_windows-x64\\JDK Mission Control" + } +}