cask "flyenv" do arch arm: "-arm64" version "4.5.5" sha256 arm: "2af293c5e462360b19f90c46db4e5c18adb1e671f4bba18088ce855bd96f5aed", intel: "aae78f96ae4049b9162d362c59016e40ec730560455ae944708c8d7b828d0eb9" url "https://github.com/xpf0000/FlyEnv/releases/download/v#{version}/FlyEnv-#{version}#{arch}-mac.zip", verified: "github.com/xpf0000/FlyEnv/" name "FlyEnv" desc "PHP and Web development environment manager" homepage "https://www.macphpstudy.com/" livecheck do url "https://raw.githubusercontent.com/xpf0000/FlyEnv/master/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :catalina" app "FlyEnv.app" zap trash: [ "~/Library/Application Support/PhpWebStudy", "~/Library/Logs/PhpWebStudy", "~/Library/PhpWebStudy", "~/Library/Preferences/phpstudy.xpfme.com.plist", ] end