phinze/homebrew-cask

View on GitHub
Casks/l/localxpose.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "localxpose" do
  arch arm: "arm64", intel: "amd64"

  version "24.4.2"
  sha256 :no_check

  url "https://api.localxpose.io/api/v2/downloads/loclx-darwin-#{arch}.zip"
  name "LocalXpose"
  desc "Reverse proxy that enables you to expose your localhost to the internet"
  homepage "https://localxpose.io/"

  livecheck do
    url "https://api.localxpose.io/api/v2/downloads/darwin-#{arch}.json"
    strategy :json do |json|
      json["Version"]
    end
  end

  auto_updates true

  binary "loclx"

  zap trash: "~/.localxpose"
end