homebrew-cask/Casks/k/knock.rb

26 lines
663 B
Ruby

cask "knock" do
version "2.2.1"
sha256 :no_check
url "https://knock-updates.s3.amazonaws.com/Knock.zip",
verified: "knock-updates.s3.amazonaws.com/"
name "Knock"
desc "Unlock with AppleWatch"
homepage "http://www.knocktounlock.com/"
livecheck do
url "https://knock-updates.s3.amazonaws.com/Knock.xml"
strategy :sparkle, &:short_version
end
app "Knock.app"
zap trash: [
"~/Library/Caches/com.crashlytics.data/com.knock.mac",
"~/Library/Caches/com.knock.mac",
"~/Library/Logs/Knock",
"~/Library/Preferences/com.knock.mac.plist",
],
rmdir: "~/Library/Caches/com.crashlytics.data"
end