cask "github-copilot-for-xcode" do version "0.51.0" sha256 "4bdf74338a366f166bbe85fa2e06616036de7bde41fa154becc95e6ec34adbf0" url "https://githubcopilotide.z13.web.core.windows.net/#{version}/GitHubCopilotForXcode.dmg" name "GitHub Copilot for Xcode" desc "Xcode extension for GitHub Copilot" homepage "https://github.com/github/CopilotForXcode" livecheck do url "https://githubcopilotide.z13.web.core.windows.net/appcast.xml" strategy :sparkle do |items| items.find { |item| item.channel.nil? }&.short_version end end auto_updates true depends_on macos: :ventura app "GitHub Copilot for Xcode.app" uninstall launchctl: "com.github.CopilotForXcode.CommunicationBridge" zap trash: [ "~/Library/Application Scripts/com.github.CopilotForXcode.EditorExtension", "~/Library/Application Scripts/VEKTX9H2N7.group.com.github.CopilotForXcode", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.copilotforxcode.extensionservice.sfl*", "~/Library/Application Support/com.github.CopilotForXcode", "~/Library/Containers/com.github.CopilotForXcode.EditorExtension", "~/Library/Group Containers/VEKTX9H2N7.group.com.github.CopilotForXcode", "~/Library/HTTPStorages/com.github.CopilotForXcode", "~/Library/Logs/GitHubCopilot", "~/Library/Preferences/com.github.CopilotForXcode.plist", "~/Library/Preferences/VEKTX9H2N7.group.com.github.CopilotForXcode.prefs.plist", ] end