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

internxt-drive 2.5.1.70 #197093

Merged
merged 1 commit into from
Jan 3, 2025
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
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
Loading