29 lines
849 B
Ruby
29 lines
849 B
Ruby
cask "syncthing" do
|
|
version "1.27.4-1"
|
|
sha256 "c510b42a7ce3d979ce9e985c59f572ea1396485f8cb142796a8991942f66f57a"
|
|
|
|
url "https://github.com/syncthing/syncthing-macos/releases/download/v#{version}/Syncthing-#{version}.dmg",
|
|
verified: "github.com/syncthing/syncthing-macos/"
|
|
name "Syncthing"
|
|
desc "Real time file synchronisation software"
|
|
homepage "https://syncthing.net/"
|
|
|
|
livecheck do
|
|
url :url
|
|
regex(/v?(\d+(?:[\.\-]\d+)+)/i)
|
|
strategy :github_latest
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :sierra"
|
|
|
|
app "Syncthing.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Syncthing-macOS",
|
|
"~/Library/Caches/com.github.xor-gate.syncthing-macosx",
|
|
"~/Library/Cookies/com.github.xor-gate.syncthing-macosx.binarycookies",
|
|
"~/Library/Preferences/com.github.xor-gate.syncthing-macosx.plist",
|
|
]
|
|
end
|