cask "gitcomet" do arch arm: "arm64", intel: "x86_64" os macos: "macos", linux: "linux" url_end = on_system_conditional macos: "dmg", linux: "AppImage" version "0.3.2" sha256 arm: "77d7c2d8fcc0f9c4e64ba44e0144f4d233c0be77b1e110837ad12a44db1ed86b", intel: "8eecf0f570be356224ff67cadae7efb08effc538b99c3bc495a7fe160d79742c", arm64_linux: "e4f5502c4a5e8ee638b5c31c245961e5c23c01a57355f3d56343076d6fe8d858", x86_64_linux: "a93f895f302c9bdfb907f88e57e72b4050664219f0292408e0afdfe2f4034dd2" on_macos do depends_on macos: :ventura app "GitComet.app" binary "#{appdir}/GitComet.app/Contents/MacOS/gitcomet", target: "gitcomet" uninstall quit: "ai.autoexplore.gitcomet" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/ai.autoexplore.gitcomet.sfl*", "~/Library/Application Support/gitcomet", "~/Library/Logs/gitcomet", "~/Library/Preferences/ai.autoexplore.gitcomet.plist", ] end on_linux do app_image "gitcomet-v#{version}-linux-#{arch}.AppImage", target: "GitComet.AppImage" end url "https://github.com/Auto-Explore/GitComet/releases/download/v#{version}/gitcomet-v#{version}-#{os}-#{arch}.#{url_end}" name "GitComet" desc "Git GUI" homepage "https://gitcomet.dev/" end