Java/bucket/intellij-jbr25-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/jbr_jcef-25.0.3-windows-x64-b508.16.tar.gz",
"hash": "sha512:888d3c013885754f9581492670c2aa2dde013b1d55fba03ee96d36e2904913d0b420e70a0d7ef3a4c8b0de599f2f6fe8d1dc84b78186a60167ecbcaebd2dc455",
"extract_dir": "jbr_jcef-25.0.3-windows-x64-b508.16"
},
"arm64": {
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-25.0.3-windows-aarch64-b508.16.tar.gz",
"hash": "sha512:7ceaeccc50ca698d918b9cfb208b4a0ea3f605d4bc440f380ba5492b864bbf506d14ae5c731089cfa5e1707c033eecbbd8ac1fd90980855a01e342a5e63efdc1",
"extract_dir": "jbr_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/jbr_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz",
"hash": {
"url": "$url.checksum",
"regex": "$sha512\\s"
},
"extract_dir": "jbr_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch"
},
"arm64": {
"url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz",
"hash": {
"url": "$url.checksum",
"regex": "$sha512\\s"
},
"extract_dir": "jbr_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch"
}
}
}
}