homebrew-cask/Casks/m/macwhisper.rb

36 lines
1.2 KiB
Ruby

cask "macwhisper" do
version "7.10,760"
sha256 "4ff3ad6e86378c8c0c9725b2c57baf084711e89a5bd53ed3cf019ca3939668e3"
url "https://stickytimers.app/macwhisper/MacWhisper-#{version.csv.second}.zip",
verified: "stickytimers.app/macwhisper/"
name "MacWhisper"
desc "Speech recognition tool"
homepage "https://goodsnooze.gumroad.com/l/macwhisper"
# Older items in the Sparkle feed may have a newer pubDate, so it's necessary
# to work with all of the items in the feed (not just the newest one).
livecheck do
url "https://macwhisper-site.vercel.app/appcast.xml"
strategy :sparkle do |items|
items.map { |item| "#{item.short_version},#{item.version}" }
end
end
auto_updates true
depends_on macos: ">= :ventura"
app "MacWhisper.app"
zap trash: [
"~/Library/Application Scripts/com.goodsnooze.MacWhisper",
"~/Library/Application Support/MacWhisper",
"~/Library/Caches/com.goodsnooze.MacWhisper",
"~/Library/Containers/com.goodsnooze.MacWhisper",
"~/Library/HTTPStorages/com.goodsnooze.MacWhisper",
"~/Library/HTTPStorages/com.goodsnooze.MacWhisper.binarycookies",
"~/Library/Preferences/com.goodsnooze.MacWhisper.plist",
"~/Library/WebKit/com.goodsnooze.MacWhisper",
]
end