From 9506af1025fb6639c8b847895671d970f31bd4bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 26 Jul 2023 11:19:16 +0800 Subject: [PATCH] Add sing-box --- Casks/sing-box.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Casks/sing-box.rb diff --git a/Casks/sing-box.rb b/Casks/sing-box.rb new file mode 100644 index 00000000000..06b4d9b97a3 --- /dev/null +++ b/Casks/sing-box.rb @@ -0,0 +1,20 @@ +cask "sing-box" do + version "1.3.4" + sha256 "751456e146155f959568403ffd186524e6770e5e19f0780fc97ed664bcfc7122" + + 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