mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
36 lines
1.2 KiB
Ruby
36 lines
1.2 KiB
Ruby
cask "macwhisper" do
|
|
version "6.1,611"
|
|
sha256 "63f096ad2d1acb4d76850d7b74615ae9ebda5ca87c33ddc6cccdbb94e30cb6dc"
|
|
|
|
url "https://macwhisper-site.vercel.app/releases/MacWhisper-#{version.csv.second}.zip",
|
|
verified: "macwhisper-site.vercel.app/releases/"
|
|
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
|