From 0acf7837006c11c35acf27c404c84b94a86a7de1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 19 Dec 2023 08:04:36 -0800 Subject: [PATCH] macos: set the update URL --- macos/Sources/Features/Update/UpdateDelegate.swift | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/macos/Sources/Features/Update/UpdateDelegate.swift b/macos/Sources/Features/Update/UpdateDelegate.swift index ab58b0021..c116432df 100644 --- a/macos/Sources/Features/Update/UpdateDelegate.swift +++ b/macos/Sources/Features/Update/UpdateDelegate.swift @@ -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" } }