mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: set the update URL
This commit is contained in:
@ -2,7 +2,10 @@ import Sparkle
|
|||||||
|
|
||||||
class UpdaterDelegate: NSObject, SPUUpdaterDelegate {
|
class UpdaterDelegate: NSObject, SPUUpdaterDelegate {
|
||||||
func feedURLString(for updater: SPUUpdater) -> String? {
|
func feedURLString(for updater: SPUUpdater) -> String? {
|
||||||
// TODO
|
// Eventually w want to support multiple channels. Sparkle itself supports
|
||||||
return nil
|
// 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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user