2 arch arm: "arm", intel: "intel"
5 sha256 arm: "a50808b82f8a7f02e17852b5d537bd7bd4d4b3f04442a9b7409c9bc58f4fceaa",
6 intel: "d1586c9c36ec40190ec73f2a8e808685639db69ff83b5c91c120dbaec1a47dbf"
8 url "https://github.com/borgbase/vorta/releases/download/v#{version}/Vorta-v#{version}-#{arch}.dmg"
10 desc "Desktop Backup Client for Borg"
11 homepage "https://github.com/borgbase/vorta"
15 regex(/^Vorta[._-]v?(\d+(?:\.\d+)+)(:?[._-]#{arch})?\.(?:dmg|pkg|zip)$/i)
16 strategy :github_releases do |json, regex|
18 next if release["draft"] || release["prerelease"]
20 release["assets"]&.map do |asset|
21 match = asset["name"]&.match(regex)
31 depends_on macos: ">= :mojave"
35 zap trash: "~/Library/Application Support/Vorta"
38 #{token} requires BorgBackup to run. If you do not need mount support, use
41 brew install borgbackup
43 If you plan on mounting archives using macFUSE, consider using the Tap
44 maintained by the Borg team:
46 brew install --cask macfuse
47 brew install borgbackup/tap/borgbackup-fuse