Skip to content

Commit 3243061

Browse files
authored
Merge pull request #207802 from Homebrew/spybuster-updates
spybuster: updates
2 parents 7db948b + 4710f2e commit 3243061

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

Casks/s/spybuster.rb

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
cask "spybuster" do
2-
version "3.0.1"
3-
sha256 :no_check
2+
version "3.0.1,202,1711714226"
3+
sha256 "fdbb1d0df481524348e35d0f9e349f5bb7ab72aa415b12c7e99ce0e831fa8098"
44

5-
url "https://dl.devmate.com/com.macpaw-labs.snitch/SpyBuster.zip",
5+
url "https://dl.devmate.com/com.macpaw-labs.snitch/#{version.csv.second}/#{version.csv.third}/SpyBuster-#{version.csv.second}.zip",
66
verified: "dl.devmate.com/com.macpaw-labs.snitch/"
77
name "SpyBuster"
88
desc "Anti-spyware tool"
99
homepage "https://spybuster.app/"
1010

1111
livecheck do
12-
url "https://updates.devmate.com/com.macpaw-labs.snitch.xml"
13-
strategy :sparkle, &:short_version
12+
url "https://updateinfo.devmate.com/com.macpaw-labs.snitch/test/beta/updates.xml"
13+
regex(%r{/(\d+)/SpyBuster}i)
14+
strategy :sparkle do |item, regex|
15+
match = item.url.match(regex)
16+
next if match.blank?
17+
18+
"#{item.nice_version},#{match[1]}"
19+
end
1420
end
1521

22+
auto_updates true
1623
depends_on macos: ">= :big_sur"
1724

1825
app "SpyBuster.app"

0 commit comments

Comments
 (0)