30 lines
882 B
Ruby
30 lines
882 B
Ruby
cask "apidog" do
|
|
arch arm: "-macOS-arm64"
|
|
livecheck_folder = on_arch_conditional arm: "-arm64"
|
|
|
|
version "2.5.31"
|
|
sha256 arm: "1ac215494dab5488068cb78eb008d30894d8a21e2fc1d3a2d55018bc18c236b0",
|
|
intel: "7544ac9b2cf669a95526cdc2a2f7625f610183f73fc21ab682a3376611a98460"
|
|
|
|
url "https://file-assets.apidog.com/download/#{version}/Apidog#{arch}-#{version}.dmg"
|
|
name "Apidog"
|
|
desc "API development platform"
|
|
homepage "https://apidog.com/"
|
|
|
|
livecheck do
|
|
url "https://api.apidog.com/api/v1/configs/client-updates/latest/mac#{livecheck_folder}/latest-mac.yml"
|
|
strategy :electron_builder
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :el_capitan"
|
|
|
|
app "Apidog.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/apidog",
|
|
"~/Library/Preferences/com.apidog.app.plist",
|
|
"~/Library/Saved Application State/com.apidog.app.savedState",
|
|
]
|
|
end
|