homebrew-cask/Casks/m/macwhisper.rb

36 lines
1.2 KiB
Ruby
Raw Normal View History

cask "macwhisper" do
2024-03-28 20:58:54 +08:00
version "7.10,760"
sha256 "4ff3ad6e86378c8c0c9725b2c57baf084711e89a5bd53ed3cf019ca3939668e3"
2024-03-17 05:30:28 +08:00
url "https://stickytimers.app/macwhisper/MacWhisper-#{version.csv.second}.zip",
verified: "stickytimers.app/macwhisper/"
2023-04-22 22:23:21 +08:00
name "MacWhisper"
desc "Speech recognition tool"
homepage "https://goodsnooze.gumroad.com/l/macwhisper"
2023-11-22 08:24:33 +08:00
# 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"
2023-11-22 08:24:33 +08:00
strategy :sparkle do |items|
items.map { |item| "#{item.short_version},#{item.version}" }
end
end
2023-07-18 01:35:21 +08:00
auto_updates true
2023-06-17 07:01:02 +08:00
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