Casks/f/feed-the-beast.rb
cask "feed-the-beast" do
arch arm: "arm64", intel: "x64"
version "1.25.18"
sha256 arm: "958a158fe1c1b7aa93665972a5e2b45c533c93174f9b44caf6a4289719118c58",
intel: "3bce30a6d48824e13479d8b43658ed0d3bd1207d550fca801f5580910f63dd6a"
url "https://piston.feed-the-beast.com/app/ftb-app-#{version}-#{arch}.dmg"
name "Feed the Beast"
desc "Minecraft mod downloader and manager"
homepage "https://www.feed-the-beast.com/"
livecheck do
url "https://meta.feed-the-beast.com/v1/app/versions"
regex(/ftb[._-]app[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg/i)
end
auto_updates true
app "FTB Electron App.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/dev.ftb.app.sfl*",
"~/Library/Application Support/FTB Electron App",
"~/Library/Logs/FTB Electron App",
"~/Library/Preferences/dev.ftb.app.plist",
"~/Library/Saved Application State/dev.ftb.app.savedState",
]
end