phinze/homebrew-cask

View on GitHub
Casks/i/ipfs.rb

Summary

Maintainability
A
45 mins
Test Coverage
cask "ipfs" do
  version "0.37.0"
  sha256 "f9be48a9c6208c7560c5cef2ae4cc14492729e60a980ce9f2fec01f7eea9b774"

  url "https://github.com/ipfs/ipfs-desktop/releases/download/v#{version}/ipfs-desktop-#{version}-mac.dmg"
  name "IPFS Desktop"
  desc "Menu bar application for the IPFS peer-to-peer network"
  homepage "https://github.com/ipfs/ipfs-desktop"

  livecheck do
    url :url
    strategy :github_latest
  end

  auto_updates true
  depends_on macos: ">= :el_capitan"

  app "IPFS Desktop.app"

  zap trash: [
    "~/Library/Application Support/Caches/ipfs-desktop-updater/",
    "~/Library/Application Support/IPFS Desktop",
  ]
end