mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
40 lines
1.3 KiB
Ruby
40 lines
1.3 KiB
Ruby
cask "tuple" do
|
|
version "0.111.1,2023-11-21,b102a0d1e"
|
|
sha256 "b7cbf58e92937f1500bef16634fa8baebf0a2ff94e6e12fe07aea06144bd337a"
|
|
|
|
url "https://d32ifkf9k9ezcg.cloudfront.net/production/sparkle/tuple-#{version.tr(",", "-")}.zip",
|
|
verified: "d32ifkf9k9ezcg.cloudfront.net/"
|
|
name "Tuple"
|
|
desc "Remote pair programming app"
|
|
homepage "https://tuple.app/"
|
|
|
|
livecheck do
|
|
url "https://d32ifkf9k9ezcg.cloudfront.net/production/sparkle/appcast.xml"
|
|
strategy :sparkle do |item|
|
|
match = item.version.match(/^v?(\d+(?:\.\d+)+)[._-](\d+(?:-\d+)+)[._-](\h+)$/i)
|
|
next if match.blank?
|
|
|
|
"#{match[1]},#{match[2]},#{match[3]}"
|
|
end
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :catalina"
|
|
|
|
app "Tuple.app"
|
|
|
|
uninstall quit: "app.tuple.app",
|
|
launchctl: "app.tuple.app-LaunchAtLoginHelper"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/app.tuple.app-LaunchAtLoginHelper",
|
|
"~/Library/Application Support/app.tuple.app",
|
|
"~/Library/Caches/app.tuple.app",
|
|
"~/Library/Caches/com.crashlytics.data/app.tuple.app",
|
|
"~/Library/Caches/io.fabric.sdk.mac.data/app.tuple.app",
|
|
"~/Library/Containers/app.tuple.app-LaunchAtLoginHelper",
|
|
"~/Library/Preferences/app.tuple.app.plist",
|
|
"~/Library/WebKit/app.tuple.app",
|
|
]
|
|
end
|