homebrew-cask/Casks/f/fastscripts.rb

28 lines
866 B
Ruby

cask "fastscripts" do
version "3.3.1"
sha256 "a81a54b68128b3cda75db679e6c4757394979c96663333f7170c69ff038b15c2"
url "https://redsweater.com/fastscripts/FastScripts#{version}.zip"
name "FastScripts"
desc "Tool for running time-saving scripts"
homepage "https://redsweater.com/fastscripts/"
livecheck do
url "https://redsweater.com/fastscripts/appcast#{version.major}.php"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :mojave"
app "FastScripts.app"
zap trash: [
"~/Library/Application Support/FastScripts Script Runner",
"~/Library/Application Support/FastScripts",
"~/Library/Caches/com.red-sweater.fastscripts#{version.major}",
"~/Library/Preferences/com.red-sweater.fastscripts#{version.major}.plist",
"~/Library/WebKit/com.red-sweater.fastscripts#{version.major}",
]
end