Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / l / linearmouse.rb
blobca6e679d7d20378dbeb622f752c3c2df52d6989f
1 cask "linearmouse" do
2   version "0.10.0"
3   sha256 "21cd1d11010dd5eefc1ff3368ce8366c4114f99b59ea737aca4309f9d6fb69f1"
5   url "https://dl.linearmouse.org/v#{version}/LinearMouse.dmg"
6   name "LinearMouse"
7   desc "Customise mouse behavior"
8   homepage "https://linearmouse.org/"
10   livecheck do
11     url "https://linearmouse.app/appcast.xml"
12     strategy :sparkle do |items|
13       items.find { |item| item.channel.nil? }&.nice_version
14     end
15   end
17   auto_updates true
18   depends_on macos: ">= :catalina"
20   app "LinearMouse.app"
22   uninstall quit: "com.lujjjh.LinearMouse"
24   zap trash: "~/Library/Preferences/com.lujjjh.LinearMouse.plist"
25 end