Skip to content

Commit

Permalink
Merge pull request #197093 from Homebrew/bump-internxt-drive-2.5.1.70
Browse files Browse the repository at this point in the history
internxt-drive 2.5.1.70
  • Loading branch information
bevanjkay authored Jan 3, 2025
2 parents 479ed01 + 5f54279 commit 796ddea
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions Casks/i/internxt-drive.rb
Original file line number Diff line number Diff line change
@@ -1,37 +1,20 @@
cask "internxt-drive" do
arch arm: "-arm64"
version "2.5.1.70"
sha256 "2c379bd18e5a466738613fdb7520f73333597dbf40c413a35502b2193317961c"

version "2.0.0"
sha256 arm: "22d8076850f6834cbf3c22d07dcc9e916478c1ce8464464827e55fbcac7c2788",
intel: "0a218560e645a99d65c052597ab125a148c93827bf27b5c2060213c6127418e5"

url "https://github.com/internxt/drive-desktop/releases/download/v#{version}/internxt-drive-#{version}#{arch}.dmg",
verified: "github.com/internxt/drive-desktop/"
url "https://github.com/internxt/drive-desktop-macos/releases/download/v#{version}/Internxt_Drive_#{version}.dmg",
verified: "github.com/internxt/drive-desktop-macos/"
name "Internxt Drive"
desc "Client for Internxt file storage service"
homepage "https://internxt.com/drive"

# Not every GitHub release provides a file for macOS, so we check multiple
# recent releases instead of only the "latest" release.
livecheck do
url :url
regex(/^Internxt[._-]Drive[._-]v?(\d+(?:\.\d+)+)#{arch}\.dmg$/i)
strategy :github_releases do |json, regex|
json.map do |release|
next if release["draft"] || release["prerelease"]

release["assets"]&.map do |asset|
match = asset["name"]&.match(regex)
next if match.blank?

match[1]
end
end.flatten
end
strategy :github_latest
end

auto_updates true
depends_on macos: ">= :high_sierra"
depends_on macos: ">= :big_sur"

app "Internxt Drive.app"

Expand Down

0 comments on commit 796ddea

Please sign in to comment.