cask "feed-the-beast" do arch arm: "arm64", intel: "x64" version "1.26.3" sha256 arm: "810bcd8b868791667db69da9aefd5bf6d49d4e722439df4a0c4cf72eb2ad8cbe", intel: "471630916ae7bcd4052451b09680945bcdc4009c4e340ca13f747bc2e2c4e86f" 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