Merge pull request #200541 from Homebrew/bump-roam-147.0.0-beta001
[Homebrew/homebrew-cask.git] / Casks / s / syncthing.rb
blobcedfaee23667d496ce0bd4ea5f6118fa9954536d
1 cask "syncthing" do
2   version "1.29.2-1"
3   sha256 "9b31bb415893e9a52250e6885d595c2e72de6c4ec9e0ad3f0ad01d172c1a585c"
5   url "https://github.com/syncthing/syncthing-macos/releases/download/v#{version}/Syncthing-#{version}.dmg",
6       verified: "github.com/syncthing/syncthing-macos/"
7   name "Syncthing"
8   desc "Real time file synchronisation software"
9   homepage "https://syncthing.net/"
11   livecheck do
12     url :url
13     regex(/v?(\d+(?:[\.\-]\d+)+)/i)
14     strategy :github_latest
15   end
17   auto_updates true
18   depends_on macos: ">= :big_sur"
20   app "Syncthing.app"
22   zap trash: [
23     "~/Library/Application Support/Syncthing-macOS",
24     "~/Library/Caches/com.github.xor-gate.syncthing-macosx",
25     "~/Library/Cookies/com.github.xor-gate.syncthing-macosx.binarycookies",
26     "~/Library/Preferences/com.github.xor-gate.syncthing-macosx.plist",
27   ]
28 end