Casks/b/biglybt.rb
cask "biglybt" do
arch arm: "Silicon", intel: "Intel"
version "3.6.0.0"
sha256 arm: "f8fabd919e5cd4911849e9d0a94ccd9cd286785639b99b41d3f2d56a0113d7dc",
intel: "a7285e541bd81854795090565c2bd7327cd063c1100a94913e06d0063fdc84dc"
url "https://github.com/BiglySoftware/BiglyBT/releases/download/v#{version}/GitHub_BiglyBT_Mac_#{arch}_Installer.dmg",
verified: "github.com/BiglySoftware/BiglyBT/"
name "biglybt"
desc "Bittorrent client based on the Azureus open source project"
homepage "https://www.biglybt.com/"
auto_updates true
depends_on macos: ">= :el_capitan"
preflight do
system_command "#{staged_path}/BiglyBT Installer.app/Contents/MacOS/JavaApplicationStub",
args: [
"-dir", "#{appdir}/BiglyBT",
"-q",
"-Dinstall4j.suppressStdout=true",
"-Dinstall4j.debug=false",
"-VcreateDesktopLinkAction$Boolean=false",
"-VaddToDockAction$Boolean=false"
],
print_stderr: false,
sudo: true
end
uninstall delete: "#{appdir}/BiglyBT"
zap trash: [
"~/Library/Application Support/BiglyBT",
"~/Library/Preferences/com.biglybt.plist",
"~/Library/Saved Application State/com.biglybt.savedState",
]
caveats do
depends_on_java "8+"
end
end