ghostty/macos/Sources/Features/Update/UpdateDelegate.swift
2023-12-19 08:04:36 -08:00

12 lines
504 B
Swift

import Sparkle
class UpdaterDelegate: NSObject, SPUUpdaterDelegate {
func feedURLString(for updater: SPUUpdater) -> String? {
// Eventually w want to support multiple channels. Sparkle itself supports
// channels but we probably don't want some appcasts in the same file (i.e.
// tip) so this would be the place to change that. For now, we hardcode the
// tip appcast URL since it is all we support.
return "https://tip.files.ghostty.dev/appcast.xml"
}
}