excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / swift.rb
blob35e260fdcf96aae5b71bba53b8d70fbe1ce8c510
1 cask "swift" do
2   version "4.0.2"
3   sha256 "7fc8ed6911f91f0888b4b9ec3c26df41325cb4d8c2fc588fbacd35a0be7f772b"
5   url "https://swift.im/downloads/releases/swift-#{version}/Swift-#{version}.dmg"
6   name "Swift"
7   desc "XMPP client"
8   homepage "https://swift.im/"
10   livecheck do
11     url "https://swift.im/downloads/swift-stable-appcast-mac.xml"
12     strategy :sparkle, &:version
13   end
15   app "Swift.app"
17   zap trash: [
18     "~/Library/Application Support/Swift",
19     "~/Library/Caches/im.swift.Swift",
20     "~/Library/Preferences/im.swift.Swift.plist",
21     "~/Library/Saved Application State/im.swift.Swift.savedState",
22   ]
24   caveats do
25     requires_rosetta
26   end
27 end