Update twist from 1.0.1 to 1.0.3 (#115713)

* Update twist from 1.0.1 to 1.0.3

* twist: add zap

* twist: switch livecheck to electron_builder appcast
This commit is contained in:
neutric 2021-12-11 01:47:42 +01:00 committed by GitHub
parent 8d82c66401
commit 76d502014d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 4 deletions

View File

@ -1,6 +1,6 @@
cask "twist" do
version "1.0.1"
sha256 "f46b323c666cd3377bc881197f1fcb9ae2a656f7645551df8c673d4b25b27b4f"
version "1.0.3"
sha256 "3d9e4b7e29fa6223d606e63052e3c71729b1f8967856c7670de5656c0bb0008d"
url "https://downloads.twist.com/mac/Twist-#{version}.dmg"
name "Twist"
@ -8,11 +8,18 @@ cask "twist" do
homepage "https://twist.com/"
livecheck do
url "https://twist.com/mac_app"
strategy :header_match
url "https://downloads.twist.com/mac/latest-mac.yml"
strategy :electron_builder
end
depends_on macos: ">= :el_capitan"
app "Twist.app"
zap trash: [
"~/Library/Application Support/Twist",
"~/Library/Logs/Twist",
"~/Library/Preferences/com.twistapp.mac-sparkle.Twist.plist",
"~/Library/Saved Application State/com.twistapp.mac-sparkle.Twist.savedState",
]
end