Casks/u/uhk-agent.rb
cask "uhk-agent" do
version "4.2.0"
sha256 "466d2ad11b1c361c37ceb311a71056f0a05b7704489d77b40ff23bbd2973ee64"
url "https://github.com/UltimateHackingKeyboard/agent/releases/download/v#{version}/UHK.Agent-#{version}-mac.dmg"
name "Ultimate Hacking Keyboard Agent"
name "UHK Agent"
desc "Configuration application for the Ultimate Hacking Keyboard"
homepage "https://github.com/UltimateHackingKeyboard/agent"
livecheck do
url :url
strategy :github_latest
end
app "UHK Agent.app"
uninstall quit: "com.ultimategadgetlabs.agent"
zap trash: [
"~/Library/Application Support/uhk-agent",
"~/Library/Logs/UHK Agent",
"~/Library/Logs/uhk-agent",
"~/Library/Preferences/com.ultimategadgetlabs.agent.helper.plist",
"~/Library/Preferences/com.ultimategadgetlabs.agent.plist",
"~/Library/Saved Application State/com.ultimategadgetlabs.agent.savedState",
]
end