cask "blink1control" do # NOTE: "1" is not a version number, but an intrinsic part of the product name arch arm: "arm64", intel: "x64" version "2.2.9" sha256 arm: "5201cc77aa1b51b927d90e59f6221ff55f147f5910f6e75b6acd0966b3f4c099", intel: "fa4a8457f905b6e7ef288c621fed646305ac31408932a9cfa7181fde41499ec2" url "https://github.com/todbot/Blink1Control2/releases/download/v#{version}/Blink1Control#{version.major}-#{version}-mac-#{arch}.dmg", verified: "github.com/todbot/Blink1Control2/" name "Blink1Control" desc "Utility to control blink(1) USB RGB LED devices" homepage "https://blink1.thingm.com/" depends_on macos: ">= :el_capitan" app "Blink1Control#{version.major}.app" zap trash: [ "~/Library/Application Support/Blink1Control#{version.major}", "~/Library/Logs/Blink1Control#{version.major}", "~/Library/Preferences/com.thingm.blink1control#{version.major}.plist", "~/Library/Saved Application State/com.thingm.blink1control#{version.major}.savedState", ] end