From a5ab985fd066cd5171c530fb45b913bafbbffb1c Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Sun, 24 Aug 2025 13:27:21 -0700 Subject: [PATCH] Ignore updates if test build. --- Sources/SecretAgent/AppDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/SecretAgent/AppDelegate.swift b/Sources/SecretAgent/AppDelegate.swift index 8f21d34..e4f8749 100644 --- a/Sources/SecretAgent/AppDelegate.swift +++ b/Sources/SecretAgent/AppDelegate.swift @@ -49,6 +49,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { updater.update } onChange: { [updater, notifier] in Task { + guard !updater.testBuild else { return } await notifier.notify(update: updater.update!) { release in await updater.ignore(release: release) }