Casks/b/bluebubbles.rb
cask "bluebubbles" do
version "1.9.7"
sha256 "ee41ab7a18a9b18c8bf4b3660f80d9f93e65fb48b9f2b33bf13e4afce7eddcac"
url "https://github.com/BlueBubblesApp/bluebubbles-server/releases/download/v#{version}/BlueBubbles-#{version}.dmg",
verified: "github.com/BlueBubblesApp/bluebubbles-server/"
name "BlueBubbles"
desc "Server for forwarding iMessages"
homepage "https://bluebubbles.app/"
livecheck do
url :url
strategy :github_latest
end
depends_on macos: ">= :high_sierra"
app "BlueBubbles.app"
uninstall launchctl: "com.BlueBubbles.BlueBubbles-Server.ShipIt",
quit: [
"com.BlueBubbles.BlueBubbles-Server",
"com.BlueBubbles.BlueBubbles-Server.helper",
"com.BlueBubbles.BlueBubbles-Server.helper.GPU",
"com.BlueBubbles.BlueBubbles-Server.helper.Plugin",
"com.BlueBubbles.BlueBubbles-Server.helper.Renderer",
"com.bluebubbles.messaging",
],
login_item: "BlueBubbles"
zap trash: [
"~/Library/Application Support/@bluebubbles",
"~/Library/Application Support/bluebubbles-server",
"~/Library/Logs/@bluebubbles",
"~/Library/Logs/bluebubbles-server",
"~/Library/Preferences/com.BlueBubbles.BlueBubbles-Server.plist",
"~/Library/Saved Application State/com.BlueBubbles.BlueBubbles-Server.savedState",
]
caveats do
requires_rosetta
end
end