Merge pull request #166826 from P-focT/apidog-europe-branch

apidog-europe 2.5.7 (new cask)
This commit is contained in:
Miccal Matthews
2024-02-27 10:34:00 +08:00
committed by GitHub
+29
View File
@@ -0,0 +1,29 @@
cask "apidog-europe" do
arch arm: "-macOS-arm64"
livecheck_folder = on_arch_conditional arm: "-arm64"
version "2.5.7"
sha256 arm: "40b48f5fbebe3399f0d415ddc87dbaa9836445c653ecf34a2f57dd2640206468",
intel: "c153621cd343bcc9af71d1a0095613fd78dbe701a163a3a31523dad369976904"
url "https://assets.eu.apidog.com/download/#{version}/Apidog%20Europe#{arch}-#{version}.dmg"
name "Apidog Europe"
desc "API development platform hosted in Europe"
homepage "https://apidog.com/"
livecheck do
url "https://api.eu.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 Europe.app"
zap trash: [
"~/Library/Application Support/apidog-eu",
"~/Library/Preferences/com.apidog.eu.app.plist",
"~/Library/Saved Application State/com.apidog.eu.app.savedState",
]
end