Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shadow-bot: disable #196746

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions Casks/s/shadow-bot.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cask "shadow-bot" do
arch arm: "-arm64"
livecheck_query = on_arch_conditional arm: "arm64", intel: "intel"

version "1.9.7"
sha256 arm: "1f376878a3c16f080f42f77edee8b9c6a3cb5f52ca4aafdc0797537b339186ab",
Expand All @@ -12,16 +11,7 @@
desc "Application for robotic process automation"
homepage "https://www.yingdao.com/"

livecheck do
url "https://api.yingdao.com/api/v1/sys/download/client?os=mac&arch=#{livecheck_query}"
regex(/ShadowBot[._-]v?(\d+(?:\.\d+)+)#{arch}\.dmg/i)
strategy :json do |json, regex|
match = json["data"]&.match(regex)
next if match.blank?

match[1]
end
end
disable! date: "2024-12-30", because: "download artifact behind signed url"

depends_on macos: ">= :high_sierra"

Expand Down
Loading