phinze/homebrew-cask

View on GitHub
Casks/z/zeronet.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "zeronet" do
  version "0.7.1"
  sha256 :no_check

  url "https://github.com/HelloZeroNet/ZeroNet-dist/archive/refs/heads/mac/ZeroNet-dist-mac.tar.gz",
      verified: "github.com/HelloZeroNet/ZeroNet-dist/"
  name "ZeroNet"
  desc "Decentralised websites using Bitcoin crypto and BitTorrent network"
  homepage "https://zeronet.io/"

  livecheck do
    url "https://github.com/HelloZeroNet/ZeroNet/releases/"
    strategy :github_latest
  end

  # see https://github.com/HelloZeroNet/ZeroNet/issues/2847
  deprecate! date: "2024-06-17", because: :unmaintained

  app "ZeroNet-dist-mac/ZeroNet.app"

  zap trash: [
    "~/Library/Application Support/ZeroNet",
    "~/Library/Saved Application State/org.pythonmac.unspecified.ZeroNet.savedState",
  ]
end