macos: set the update URL

This commit is contained in:
Mitchell Hashimoto
2023-12-19 08:04:36 -08:00
parent 8218c96cc6
commit 0acf783700

View File

@ -2,7 +2,10 @@ import Sparkle
class UpdaterDelegate: NSObject, SPUUpdaterDelegate {
func feedURLString(for updater: SPUUpdater) -> String? {
// TODO
return nil
// 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"
}
}