homebrew-cask/Casks/f/fly-key.rb

20 lines
507 B
Ruby
Raw Normal View History

cask "fly-key" do
version "1.5"
sha256 "2b89a5994d40e618e9f792097286122f35f137199c495474fa3ac949a23d8366"
url "https://cdn.better365.cn/FlyKey/FlyKey#{version}.dmg"
name "FlyKey"
desc "One-click display of shortcuts"
homepage "https://www.better365.cn/FlyKey.html"
livecheck do
url "https://www.better365.cn/FlyKey.xml"
strategy :sparkle, &:short_version
end
pkg "FlyKey#{version}.pkg"
uninstall pkgutil: "cn.better365.FlyKey",
quit: "cn.better365.FlyKey"
end