cask "fluxer" do arch arm: "arm64", intel: "x64" appimage_arch = on_arch_conditional arm: "arm64", intel: "x86_64" os macos: "darwin", linux: "linux" file_ext = on_system_conditional macos: "dmg", linux: "appimage" version "2026.1006.171735" sha256 arm: "7d8900e351cae5285500a9c205fbb2ed21985d1ef6297c90ecacd840b8dfa22f", intel: "7d8900e351cae5285500a9c205fbb2ed21985d1ef6297c90ecacd840b8dfa22f", arm64_linux: "5aa72abfb2cc7397fef78cfe34a8b6ee4cf960d979b181fb0755e074fe5714be", x86_64_linux: "d62cf589826603259bd740c02ce109a970a68a3f4501731866f3ff3da195d88a" on_macos do auto_updates true depends_on macos: :ventura app "Fluxer.app" uninstall launchctl: "app.fluxer.ShipIt", quit: "app.fluxer" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/app.fluxer.sfl*", "~/Library/Application Support/fluxer", "~/Library/Caches/app.fluxer*", "~/Library/HTTPStorages/app.fluxer", "~/Library/Logs/Fluxer", "~/Library/Logs/fluxer_desktop", "~/Library/Preferences/app.fluxer.plist", "~/Library/Preferences/ByHost/app.fluxer.ShipIt.*.plist", ] end on_linux do app_image "Fluxer-#{version}-linux-#{appimage_arch}.AppImage", target: "Fluxer.AppImage" zap trash: "~/.config/fluxer" end url "https://pkgs.fluxer.com/desktop/stable/#{os}/#{arch}/#{version}/#{file_ext}" name "Fluxer" desc "Chat for friends, groups, and communities with text, voice, and video" homepage "https://fluxer.app/" livecheck do url "https://pkgs.fluxer.com/desktop/stable/#{os}/#{arch}/latest.json" strategy :json do |json| json["version"] end end end