homebrew-cask/Casks/a/alt-tab.rb

32 lines
925 B
Ruby

cask "alt-tab" do
version "6.70.1"
sha256 "e0b7652e873a84c1758c8947782f3d9b5ba74ad0ac203ebf9d626eb98517f7aa"
url "https://github.com/lwouis/alt-tab-macos/releases/download/v#{version}/AltTab-#{version}.zip",
verified: "github.com/lwouis/alt-tab-macos/"
name "AltTab"
desc "Enable Windows-like alt-tab"
homepage "https://alt-tab-macos.netlify.app/"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
depends_on macos: ">= :sierra"
app "AltTab.app"
uninstall quit: "com.lwouis.alt-tab-macos"
zap trash: [
"~/Library/Application Support/com.lwouis.alt-tab-macos",
"~/Library/Caches/com.lwouis.alt-tab-macos",
"~/Library/Cookies/com.lwouis.alt-tab-macos.binarycookies",
"~/Library/HTTPStorages/com.lwouis.alt-tab-macos",
"~/Library/LaunchAgents/com.lwouis.alt-tab-macos.plist",
"~/Library/Preferences/com.lwouis.alt-tab-macos.plist",
]
end