summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-10-08 22:18:33 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-10-08 22:18:36 -0700
commita2fbaec6136b6c58f21565c81475386dec55bb5c (patch)
tree44a6f7ca6154090b4062e09e9bc636b19a9ce7f0
parent49eb65df77c16baaf74e78fd99373266b15e5b98 (diff)
macos: do not build updaters into iOS
-rw-r--r--macos/Ghostty.xcodeproj/project.pbxproj7
-rw-r--r--macos/Sources/Features/Update/UpdateDelegate.swift2
2 files changed, 8 insertions, 1 deletions
diff --git a/macos/Ghostty.xcodeproj/project.pbxproj b/macos/Ghostty.xcodeproj/project.pbxproj
index e53f6d468..558937582 100644
--- a/macos/Ghostty.xcodeproj/project.pbxproj
+++ b/macos/Ghostty.xcodeproj/project.pbxproj
@@ -125,7 +125,14 @@
"Features/Terminal/Window Styles/TitlebarTabsTahoeTerminalWindow.swift",
"Features/Terminal/Window Styles/TitlebarTabsVenturaTerminalWindow.swift",
"Features/Terminal/Window Styles/TransparentTitlebarTerminalWindow.swift",
+ Features/Update/UpdateBadge.swift,
+ Features/Update/UpdateController.swift,
Features/Update/UpdateDelegate.swift,
+ Features/Update/UpdateDriver.swift,
+ Features/Update/UpdatePill.swift,
+ Features/Update/UpdatePopoverView.swift,
+ Features/Update/UpdateSimulator.swift,
+ Features/Update/UpdateViewModel.swift,
"Ghostty/FullscreenMode+Extension.swift",
Ghostty/Ghostty.Command.swift,
Ghostty/Ghostty.Error.swift,
diff --git a/macos/Sources/Features/Update/UpdateDelegate.swift b/macos/Sources/Features/Update/UpdateDelegate.swift
index 4699ba14a..1112c1f44 100644
--- a/macos/Sources/Features/Update/UpdateDelegate.swift
+++ b/macos/Sources/Features/Update/UpdateDelegate.swift
@@ -6,7 +6,7 @@ class UpdaterDelegate: NSObject, SPUUpdaterDelegate {
guard let appDelegate = NSApplication.shared.delegate as? AppDelegate else {
return nil
}
-
+
// Sparkle supports a native concept of "channels" but it requires that
// you share a single appcast file. We don't want to do that so we
// do this instead.