Java/bucket/intellij-jbr25-sdk-jcef.json
2026-06-23 07:50:28 +00:00

68 lines
3.6 KiB
JSON

{
"version": "25.0.3-b508.16",
"homepage": "https://github.com/JetBrains/JetBrainsRuntime",
"description": "A fork of OpenJDK that supports enhanced class redefinition (DCEVM), features optional JCEF, a framework for embedding Chromium-based browsers, includes a number of improvements in font rendering, keyboards support, windowing/focus subsystems, HiDPI, accessibility, and performance, provides better desktop integration and bugfixes not yet present in OpenJDK.",
"license": "GPL-2.0-only",
"architecture": {
"64bit": {
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.0.3-windows-x64-b508.16.tar.gz",
"hash": "sha512:eca3bedf04a8c5fe781f4a96e8d31df0ad4570cff508febc297353abbd1ac1c9e4b477e58fa06076e6e182b718958ba25ead35dbb622200fdc8ff21077c45111",
"extract_dir": "jbrsdk_jcef-25.0.3-windows-x64-b508.16"
},
"arm64": {
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.0.3-windows-aarch64-b508.16.tar.gz",
"hash": "sha512:4af6681517d8fe4f63a7c815aba373510769884968b6d9d1777af4d14cbd2444ae8dc691e9f55a56abf6457753bff42441369cd2100fe0806145e83232a77242",
"extract_dir": "jbrsdk_jcef-25.0.3-windows-aarch64-b508.16"
}
},
"env_set": {
"JAVA_HOME": "$dir"
},
"env_add_path": "bin",
"checkver": {
"script": [
"$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'",
"$releases = Invoke-RestMethod $url",
"$tags = $releases | ForEach-Object { $_.tag_name }",
"# `$Script:expected_ver` is current version for fallback",
"$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')",
"$pattern = 'jbr-release-25\\.(?<Version>[\\d.]+)b(?<BuildNum>[\\d]+)\\.(?<Patch>\\d+)'",
"$matches = foreach ($t in $tags) { if ($t -match $pattern) {",
" [PSCustomObject]@{",
" Tag = $t",
" VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }",
" BuildNum = [int]$Matches.BuildNum",
" Patch = [int]$Matches.Patch",
" }",
" } }",
"$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},",
" @{Expression={$_.VersionParts[1]}},",
" @{Expression={$_.BuildNum}},",
" @{Expression={$_.Patch}} | Select-Object -Last 1",
"Write-Output $latest.Tag"
],
"regex": "jbr-release-25\\.(?<Version>[\\d.]+)(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)",
"replace": "25.${Version}-${Build}.${Patch}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz",
"hash": {
"url": "$url.checksum",
"regex": "$sha512\\s"
},
"extract_dir": "jbrsdk_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch"
},
"arm64": {
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz",
"hash": {
"url": "$url.checksum",
"regex": "$sha512\\s"
},
"extract_dir": "jbrsdk_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch"
}
}
}
}