cask "ghostty" do version "1.1.3" sha256 "64e514188f549598f166d6dcb6f8df29f333e954e28172a2901ea988a14f2647" url "https://release.files.ghostty.org/#{version}/Ghostty.dmg" name "Ghostty" desc "Terminal emulator that uses platform-native UI and GPU acceleration" homepage "https://ghostty.org/" livecheck do url "https://release.files.ghostty.org/appcast.xml" strategy :sparkle, &:short_version end auto_updates true conflicts_with cask: "ghostty@tip" depends_on macos: ">= :ventura" app "Ghostty.app" binary "#{appdir}/Ghostty.app/Contents/MacOS/ghostty" manpage "#{appdir}/Ghostty.app/Contents/Resources/man/man1/ghostty.1" manpage "#{appdir}/Ghostty.app/Contents/Resources/man/man5/ghostty.5" bash_completion "#{appdir}/Ghostty.app/Contents/Resources/bash-completion/completions/ghostty.bash" fish_completion "#{appdir}/Ghostty.app/Contents/Resources/fish/vendor_completions.d/ghostty.fish" zsh_completion "#{appdir}/Ghostty.app/Contents/Resources/zsh/site-functions/_ghostty" zap trash: [ "~/.config/ghostty/", "~/Library/Application Support/com.mitchellh.ghostty", "~/Library/Caches/com.mitchellh.ghostty", "~/Library/HTTPStorages/com.mitchellh.ghostty", "~/Library/Preferences/com.mitchellh.ghostty.plist", "~/Library/Saved Application State/com.mitchellh.ghostty.savedState", "~/Library/WebKit/com.mitchellh.ghostty", ] end