excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / syncthing.rb
blob44b7bc92a28fedcbb293dc05bd4b0bf7ac5244d0
1 cask "syncthing" do
2   version "1.28.0-1"
3   sha256 "07536a9ccf89129fabf4aea6a0f947ed71ba2219768023d06af38c993b30f137"
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