Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions Casks/jetbrains-gateway-eap.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
cask "jetbrains-gateway-eap" do
arch arm: "-aarch64"

version "2026.1,261.21525.50"
sha256 intel: "d22d4b9c967a1989b600e391ae5d329eeec1ee636aa6b36e6489f2e3d3368534",
arm: "2bd9fa63354272bbcbf5ac043f963d9cf14caeec9cb2e12b491b6d074c962f27"

url "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-#{version.csv.second}#{arch}.dmg"
name "JetBrains Gateway EAP"
desc "Remote development gateway by JetBrains (EAP)"
homepage "https://www.jetbrains.com/remote-development/gateway/nextversion/"

livecheck do
url "https://data.services.jetbrains.com/products/releases?code=GW&latest=true&type=eap"
strategy :json do |json|
json["GW"]&.map do |release|
version = release["version"]
build = release["build"]
next if version.blank? || build.blank?

"#{version},#{build}"
end
end
end

auto_updates true

# The application path is often inconsistent between versions
rename "JetBrains Gateway*.app", "JetBrains Gateway EAP.app"

app "JetBrains Gateway EAP.app"
binary "#{appdir}/JetBrains Gateway EAP.app/Contents/MacOS/gateway", target: "gateway-eap"

zap trash: [
"~/Library/Application Support/JetBrains/JetBrainsGateway#{version.csv.first}",
"~/Library/Caches/JetBrains/JetBrainsGateway#{version.csv.first}",
"~/Library/Logs/JetBrains/JetBrainsGateway#{version.csv.first}",
"~/Library/Preferences/com.jetbrains.gateway.plist",
"~/Library/Saved Application State/com.jetbrains.gateway.savedState",
]
end
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ casks.
- `dataspell-eap`
- `goland-eap`
- `intellij-idea-eap`
- `jetbrains-gateway-eap`
- `jetbrains-toolbox-eap`
- `phpstorm-eap`
- `pycharm-eap`
- `rider-eap`
- `rubymine-eap`
- `rustrover-eap`
- `jetbrains-toolbox-eap`
- `webstorm-eap`

FYI, Android Studio has beta and canary channel instead of EAP, and casks for
Expand Down