mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
33 lines
990 B
Ruby
33 lines
990 B
Ruby
cask "fleet" do
|
|
arch arm: "aarch64", intel: "x64"
|
|
arch_suffix = on_arch_conditional arm: "-aarch64"
|
|
|
|
version "1.27.192"
|
|
sha256 arm: "adb78105b5a451434da567baf70038042dd7ada206c0e62cfb1dda098d0adce2",
|
|
intel: "ba1e73d704f53a5994d571233861b32dda356f9ec44338fc016c337074005d39"
|
|
|
|
url "https://download.jetbrains.com/fleet/installers/macos_#{arch}/Fleet-#{version}#{arch_suffix}.dmg"
|
|
name "Fleet"
|
|
desc "Hybrid IDE and text editor"
|
|
homepage "https://www.jetbrains.com/fleet/"
|
|
|
|
livecheck do
|
|
url "https://data.services.jetbrains.com/products/releases?code=FL&latest=true&type=preview"
|
|
strategy :json do |json|
|
|
json["FL"]&.map { |release| release["version"] }
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Fleet.app"
|
|
binary "#{appdir}/Fleet.app/Contents/app/bin/fleet"
|
|
|
|
zap trash: [
|
|
"~/.fleet",
|
|
"~/Library/Application Support/JetBrains/Fleet",
|
|
"~/Library/Caches/JetBrains/Fleet",
|
|
"~/Library/Logs/JetBrains/Fleet",
|
|
]
|
|
end
|