homebrew-cask/Casks/d/devpod.rb

30 lines
998 B
Ruby

cask "devpod" do
arch arm: "aarch64", intel: "x64"
version "0.5.4"
sha256 arm: "d4edf64da86b92005aab360a75544317b3863733a2fae8c1f95a87aa1fbc16c0",
intel: "f973816c9b86249f701fa41100e1cd35ca759ef9d24b8fe9acb97c86128296a6"
url "https://github.com/loft-sh/devpod/releases/download/v#{version}/DevPod_macos_#{arch}.dmg",
verified: "github.com/loft-sh/devpod/"
name "DevPod"
desc "UI to create reproducible developer environments based on a devcontainer.json"
homepage "https://devpod.sh/"
auto_updates true
depends_on macos: ">= :high_sierra"
app "DevPod.app"
binary "#{appdir}/DevPod.app/Contents/MacOS/devpod-cli", target: "devpod"
zap trash: [
"~/.devpod",
"~/Library/Application Support/sh.loft.devpod",
"~/Library/Caches/sh.loft.devpod",
"~/Library/Logs/sh.loft.devpod",
"~/Library/Preferences/sh.loft.devpod.plist",
"~/Library/Saved Application State/sh.loft.devpod.savedState",
"~/Library/WebKit/sh.loft.devpod",
]
end