12403b063a
Moves to AGP 9.4.1 and Gradle 9.8.0; Rust 1.98.1 lets macOS 27 load rust_api. Android 17 treats the tun subnet as local network, so starting the VPN asks for that permission and falls back to gvisor without it. Signed release builds upload native symbols to Crashlytics.
42 lines
994 B
Ruby
42 lines
994 B
Ruby
cask "flclash" do
|
|
version "VERSION"
|
|
|
|
on_macos do
|
|
arch arm: "arm64", intel: "amd64"
|
|
|
|
sha256 arm: "ARM_SHA256",
|
|
intel: "AMD_SHA256"
|
|
|
|
url "https://github.com/chen08209/FlClash/releases/download/v#{version}/FlClash-#{version}-macos-#{arch}.dmg"
|
|
end
|
|
|
|
name "FlClash"
|
|
desc "Multi-platform proxy client based on ClashMeta"
|
|
homepage "https://github.com/chen08209/FlClash"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
depends_on :macos
|
|
|
|
app "FlClash.app"
|
|
|
|
postflight_steps do
|
|
run "/usr/bin/xattr",
|
|
args: ["-rd", "com.apple.quarantine", "{{appdir}}/FlClash.app"],
|
|
writable_paths: ["FlClash.app"],
|
|
writable_base: :appdir
|
|
end
|
|
|
|
uninstall quit: "com.follow.clash"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.follow.clash",
|
|
"~/Library/Caches/com.follow.clash",
|
|
"~/Library/Preferences/com.follow.clash.plist",
|
|
"~/Library/Saved Application State/com.follow.clash.savedState",
|
|
]
|
|
end
|