Casks/f/folding-at-home@beta.rb
cask "folding-at-home@beta" do
version "8.3.17"
sha256 "f16daae5b8335aff515118997b261a14486180517f9910ff296d7f07cac06a73"
url "https://download.foldingathome.org/releases/beta/fah-client/macos-12-universal/release/fah-client_#{version}_universal.pkg"
name "Folding@home Client Beta"
desc "Protein folding simulation for scientific research"
homepage "https://foldingathome.org/"
livecheck do
url "https://download.foldingathome.org/releases/beta/fah-client/macos-12-universal/release/"
regex(/href=.*?fah[._-]?client[._-]v?(\d+(?:\.\d+)*)(_universal)?\.pkg/i)
end
conflicts_with cask: "folding-at-home"
depends_on macos: ">= :high_sierra"
pkg "fah-client_#{version}_universal.pkg"
uninstall launchctl: "org.foldingathome.fahclient",
pkgutil: "org.foldingathome.fahclient.pkg"
zap trash: "/Library/Application Support/FAHClient"
end