|
| 1 | +{ |
| 2 | + "version": "25.0.1-b266.34", |
| 3 | + "homepage": "https://github.com/JetBrains/JetBrainsRuntime", |
| 4 | + "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.", |
| 5 | + "license": "GPL-2.0-only", |
| 6 | + "architecture": { |
| 7 | + "64bit": { |
| 8 | + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.0.1-windows-x64-b266.34.tar.gz", |
| 9 | + "hash": "sha512:0f7ce9c070bd369217de9ab6a9dbaf3e1a3fd63f8c9df29f8f4d38b4de132f5fb436ecfeec096dbbe6478162971ee3627dadf0f07c70d62d259f0311a8d1c0bf", |
| 10 | + "extract_dir": "jbrsdk_jcef-25.0.1-windows-x64-b266.34" |
| 11 | + }, |
| 12 | + "arm64": { |
| 13 | + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.0.1-windows-aarch64-b266.34.tar.gz", |
| 14 | + "hash": "sha512:2b44f60bf26a31599a9286fd2491a06f87e8cc2e4262daed71092816b34c0de51d5d08424858f81f00a0d61394b7ab8a0377a6dbc626748bedd69d13ec9569c8", |
| 15 | + "extract_dir": "jbrsdk_jcef-25.0.1-windows-aarch64-b266.34" |
| 16 | + } |
| 17 | + }, |
| 18 | + "env_set": { |
| 19 | + "JAVA_HOME": "$dir" |
| 20 | + }, |
| 21 | + "env_add_path": "bin", |
| 22 | + "checkver": { |
| 23 | + "script": [ |
| 24 | + "$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'", |
| 25 | + "$releases = Invoke-RestMethod $url", |
| 26 | + "$tags = $releases | ForEach-Object { $_.tag_name }", |
| 27 | + "# `$Script:expected_ver` is current version for fallback", |
| 28 | + "$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')", |
| 29 | + "$pattern = 'jbr-release-25\\.(?<Version>[\\d.]+)b(?<BuildNum>[\\d]+)\\.(?<Patch>\\d+)'", |
| 30 | + "$matches = foreach ($t in $tags) { if ($t -match $pattern) {", |
| 31 | + " [PSCustomObject]@{", |
| 32 | + " Tag = $t", |
| 33 | + " VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }", |
| 34 | + " BuildNum = [int]$Matches.BuildNum", |
| 35 | + " Patch = [int]$Matches.Patch", |
| 36 | + " }", |
| 37 | + " } }", |
| 38 | + "$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},", |
| 39 | + " @{Expression={$_.VersionParts[1]}},", |
| 40 | + " @{Expression={$_.BuildNum}},", |
| 41 | + " @{Expression={$_.Patch}} | Select-Object -Last 1", |
| 42 | + "Write-Output $latest.Tag" |
| 43 | + ], |
| 44 | + "regex": "jbr-release-25\\.(?<Version>[\\d.]+)(?<Build>[\\w]+)\\.(?<Patch>[\\d]+)", |
| 45 | + "replace": "25.${Version}-${Build}.${Patch}" |
| 46 | + }, |
| 47 | + "autoupdate": { |
| 48 | + "architecture": { |
| 49 | + "64bit": { |
| 50 | + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz", |
| 51 | + "hash": { |
| 52 | + "url": "$url.checksum", |
| 53 | + "regex": "$sha512\\s" |
| 54 | + }, |
| 55 | + "extract_dir": "jbrsdk_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch" |
| 56 | + }, |
| 57 | + "arm64": { |
| 58 | + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz", |
| 59 | + "hash": { |
| 60 | + "url": "$url.checksum", |
| 61 | + "regex": "$sha512\\s" |
| 62 | + }, |
| 63 | + "extract_dir": "jbrsdk_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch" |
| 64 | + } |
| 65 | + } |
| 66 | + } |
| 67 | +} |
0 commit comments