phinze/homebrew-cask

View on GitHub
Casks/s/sfm.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "sfm" do
  version "1.9.3"
  sha256 "adeb75e62271cccefa549a691685f7d453c9f01fc1a1a9f7f00b1e1c6dc213e8"

  url "https://github.com/SagerNet/sing-box/releases/download/v#{version}/SFM-#{version}-universal.zip",
      verified: "github.com/SagerNet/sing-box/"
  name "SFM"
  desc "Standalone client for sing-box, the universal proxy platform"
  homepage "https://sing-box.sagernet.org/"

  depends_on macos: ">= :ventura"

  app "SFM.app"

  uninstall quit:       "io.nekohasekai.sfa.independent",
            login_item: "SFM"

  zap trash: "~/Library/Group Containers/group.io.nekohasekai.sfa"
end