Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Leave apps from Setapp to Setapp's own updates
Țugui Dragoșbec214bd5d11
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.mdindex fa0dde86..9940d292 100644--- a/ARCHITECTURE.md+++ b/ARCHITECTURE.md@@ -337,8 +337,12 @@ macOS asks the user to approve it once. It talks to the app over XPC.Homebrew no longer reports is forgotten then, and Peel reads Homebrew again once it has checked since. From the AppStore it reads the listing of the installed bundle (`AppStoreListing`): the Mac's, which Apple gives for the desktop,also for an app sold once for iPhone and Mac, or the iPhone and iPad one for an app of those devices installed on the- Mac. Every answer that changes nothing makes the next check of that app wait longer, up to a week (`UpdateSchedule`),- and `UpdateMemory` keeps the last answer across launches.+ Mac. An app that came with macOS or from Setapp gets no feed (`UpdateFeed.detect`, `InstalledApp.isFromSetapp`):+ Software Update and Setapp keep them current, whatever feed the bundle carries. Every answer that changes nothing+ makes the next check of that app wait longer, up to a week (`UpdateSchedule`), and `UpdateMemory` keeps the last+ answer across launches, with the revision of the checker that gave it (`UpdateChecker.revision`): an answer an+ earlier revision gave about an app it couldn't check, or about one this revision asks nobody about, is dropped, so+ the app is asked again at the next round.- **Orphaned Files.** `OrphanScanner` lists what no installed app claims, under the app Peel saw go when it canname it (`AppMemory`), and selects nothing for the person.- **Resetting an app.** `AppReset` selects an app's settings, caches, and window state, which the app makes againdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex dcc4b167..761fd56f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -153,6 +153,9 @@ its changes the way [Keep a Changelog](https://keepachangelog.com/) suggests.- An update an app's own feed found stays when a later check can't reach the feed, even where Homebrew, not caught upyet, calls the app up to date.- An update Homebrew no longer reports leaves the list as soon as Peel reads Homebrew again, rather than a day later.+- Applications and `peel updates` no longer check an app from Setapp against the feed of the version its maker sells+ directly, which its bundle may still carry: Setapp keeps it current, and the app's page says so. What an earlier Peel+ answered about it is forgotten at once.- A folder named like the app is no longer selected while another app's name holds that name, as Epic Games Launcherholds Epic: it is listed as also used by that app.- An app whose identifier a tool wrote for it, such as Electron's `com.electron.<name>`, no longer lists every otherdiff --git a/GUIDE.md b/GUIDE.mdindex 9e3790c6..1de0db8d 100644--- a/GUIDE.md+++ b/GUIDE.md@@ -74,7 +74,8 @@ and how to get it, [SAFETY.md](SAFETY.md) what it protects, [PRIVACY.md](PRIVACY- **Updates for your apps.** Peel checks your apps for new versions, through the update feed each app names, the AppStore for apps bought there, iPhone and iPad apps on the Mac included, or Homebrew for apps it installed, in the orderPrefer updates from in Settings > General sets, and shows what is new in the version that waits, as the app's own- notes say it, even with no connection. What Homebrew says counts for a day after it last checked for new versions, the+ notes say it, even with no connection. Apps that came with macOS are left to Software Update, and apps from Setapp+ to Setapp, which keep them current. What Homebrew says counts for a day after it last checked for new versions, thetime Homebrew itself waits before it checks again. Past that, an app only Homebrew can answer for reads Can't checkfor updates until Homebrew checks again, with Update Homebrew on the Homebrew page or `brew update` in Terminal, andPeel reads Homebrew again once it has. Rescan in Applications asks about every app again at once. Skip This Versiondiff --git a/Localization/Peel/Localizable.xcstrings b/Localization/Peel/Localizable.xcstringsindex 9cb27d6d..8c255f97 100644--- a/Localization/Peel/Localizable.xcstrings+++ b/Localization/Peel/Localizable.xcstrings@@ -552,6 +552,112 @@}}},+ "%@ came from Setapp. Setapp is what keeps it current, so Peel has nothing to ask." : {+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Aplikace %@ pochází ze služby Setapp. Aktuální ji udržuje Setapp, takže se Peel nemá na co ptát."+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "„%@“ stammt aus Setapp. Setapp hält die App auf dem neuesten Stand, daher muss Peel nicht nachfragen."+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ viene de Setapp. Setapp es lo que la mantiene al día, así que Peel no tiene nada que preguntar."+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ provient de Setapp. C’est Setapp qui le maintient à jour : Peel n’a donc rien à demander."+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ proviene da Setapp. È Setapp a mantenerla aggiornata, quindi Peel non ha nulla da chiedere."+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "“%@”はSetappから入手したもので、Setappによって最新の状態に保たれます。そのため、Peelが問い合わせる必要はありません。"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "‘%@’은(는) Setapp에서 받은 앱입니다. Setapp이 이 앱을 최신 상태로 유지하므로 Peel이 물어볼 곳이 없습니다."+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ is afkomstig van Setapp. Setapp houdt het up-to-date, dus Peel hoeft niets te vragen."+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Aplikacja %@ pochodzi z Setapp i jest uaktualniana przez Setapp, więc Peel nie ma o co pytać."+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ veio do Setapp. É o Setapp que o mantém atualizado, então o Peel não tem nada a perguntar."+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Aplicația %@ vine din Setapp, iar Setapp o ține la zi, așa că Peel nu are ce verifica."+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Приложение «%@» установлено из Setapp. За его обновления отвечает Setapp, поэтому Peel не о чем спрашивать."+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ kom från Setapp. Det är Setapp som håller appen aktuell, så Peel har inget att fråga om."+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ Setapp’ten geldi. Onu güncel tutan Setapp’tir, bu yüzden Peel’in soracak bir şeyi yok."+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Програма «%@» постачається через Setapp. Її оновлює Setapp, тож Peel нема про що запитувати."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "“%@”来自Setapp,由Setapp保持最新,因此Peel无需查询。"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "「%@」是來自Setapp的App。它由Setapp保持最新狀態,因此Peel無需詢問。"+ }+ }+ }+ },"%@ came with macOS. Software Update is what keeps it current, so Peel has nothing to ask." : {"localizations" : {"cs" : {diff --git a/Packages/PeelCore/Sources/PeelCore/Apps/AppInspector.swift b/Packages/PeelCore/Sources/PeelCore/Apps/AppInspector.swiftindex ca36018c..3b0a0fb2 100644--- a/Packages/PeelCore/Sources/PeelCore/Apps/AppInspector.swift+++ b/Packages/PeelCore/Sources/PeelCore/Apps/AppInspector.swift@@ -121,7 +121,8 @@ public enum AppInspector {info: info,electronConfiguration: electronConfiguration,appStoreListing: appStoreListing,- isSystemProtected: isSystemProtected+ isSystemProtected: isSystemProtected,+ isFromSetapp: InstalledApp.isFromSetapp(at: url, identifier: bundleIdentifier)),updaterFolder: electronConfiguration.flatMap(ElectronUpdater.downloadsFolder(fromConfiguration:)),productFolders: ProductFolders.of(appAt: url),diff --git a/Packages/PeelCore/Sources/PeelCore/Apps/InstalledApp.swift b/Packages/PeelCore/Sources/PeelCore/Apps/InstalledApp.swiftindex 5e558cdb..a8e6af34 100644--- a/Packages/PeelCore/Sources/PeelCore/Apps/InstalledApp.swift+++ b/Packages/PeelCore/Sources/PeelCore/Apps/InstalledApp.swift@@ -121,11 +121,13 @@ public struct InstalledApp: Sendable, Hashable, Identifiable {public var isIntelOnly: Bool { architectures == [.x86_64] }- /// Whether the app came from Setapp. Setapp's documentation says a bundle identifier "must use the -setapp- /// suffix", and Setapp installs apps in an `Applications/Setapp` folder, the system's or the user's.- public var isFromSetapp: Bool {+ public var isFromSetapp: Bool { Self.isFromSetapp(at: url, identifier: bundleIdentifier) }++ /// Whether the app at `url` came from Setapp. Setapp's documentation says a bundle identifier "must use the+ /// -setapp suffix", and Setapp installs apps in an `Applications/Setapp` folder, the system's or the user's.+ static func isFromSetapp(at url: URL, identifier: String?) -> Bool {let folder = url.deletingLastPathComponent()- return bundleIdentifier?.lowercased().hasSuffix("-setapp") == true+ return identifier?.lowercased().hasSuffix("-setapp") == true|| (folder.lastPathComponent == "Setapp" && folder.deletingLastPathComponent().lastPathComponent == "Applications")}diff --git a/Packages/PeelCore/Sources/PeelCore/Updates/UpdateChecker.swift b/Packages/PeelCore/Sources/PeelCore/Updates/UpdateChecker.swiftindex 98c15590..d7c76d01 100644--- a/Packages/PeelCore/Sources/PeelCore/Updates/UpdateChecker.swift+++ b/Packages/PeelCore/Sources/PeelCore/Updates/UpdateChecker.swift@@ -1,9 +1,9 @@public import Foundationpublic struct UpdateChecker: Sendable {- /// Raised whenever the checker learns to answer for apps it couldn't check before, so that the answer it gave- /// them is asked again rather than waited out (`UpdateMemory.recalled`).- public static let revision = 2+ /// Raised whenever the checker answers some apps differently: an app an earlier revision couldn't check is asked+ /// again rather than waited out, and so is one this revision asks nobody about (`UpdateMemory.recalled`).+ public static let revision = 3/// The largest reply read. An update feed is a small XML, YAML, or JSON file, and its address comes from/// the app's own bundle, so the server is not trusted to keep its reply small.@@ -123,6 +123,11 @@ public struct UpdateChecker: Sendable {(app.version == nil || app.updateFeed == nil) && !(preference == .appStore && app.isFromAppStore)}+ /// Whether a check of `app` has no server to ask, whichever source is preferred.+ static func asksNobody(about app: InstalledApp) -> Bool {+ UpdateSource.allCases.allSatisfy { asksNobody(about: app, preference: $0) }+ }+/// Homebrew's answer for `app`, found without a network request, or nil when Homebrew did not install this copy/// or can't tell (`homebrewStatus(of:at:)`). For a cask it did not install, Homebrew has a definition but no/// installed version to compare.diff --git a/Packages/PeelCore/Sources/PeelCore/Updates/UpdateFeed.swift b/Packages/PeelCore/Sources/PeelCore/Updates/UpdateFeed.swiftindex 4ba18c31..def63c33 100644--- a/Packages/PeelCore/Sources/PeelCore/Updates/UpdateFeed.swift+++ b/Packages/PeelCore/Sources/PeelCore/Updates/UpdateFeed.swift@@ -65,9 +65,12 @@ extension UpdateFeed {info: [String: Any],electronConfiguration: String?,appStoreListing: AppStoreListing?,- isSystemProtected: Bool+ isSystemProtected: Bool,+ isFromSetapp: Bool) -> UpdateFeed? {- guard !isSystemProtected else { return nil }+ // Software Update keeps macOS's own apps current and Setapp the apps it installed, whatever feed the bundle+ // names: Setapp's build of an app may still carry the feed of the version sold directly.+ guard !isSystemProtected, !isFromSetapp else { return nil }if let appStoreListing {return .appStore(appStoreListing)}diff --git a/Packages/PeelCore/Sources/PeelCore/Updates/UpdateMemory.swift b/Packages/PeelCore/Sources/PeelCore/Updates/UpdateMemory.swiftindex 5c631831..484f5ea1 100644--- a/Packages/PeelCore/Sources/PeelCore/Updates/UpdateMemory.swift+++ b/Packages/PeelCore/Sources/PeelCore/Updates/UpdateMemory.swift@@ -50,9 +50,9 @@ public struct UpdateMemory: Codable, Equatable, Sendable {static let longestAbsence: TimeInterval = 90 * 24 * 60 * 60/// Returns the entries that still apply to `apps`. An entry is dropped when no installed copy is the build it- /// describes, which also makes that app due at once, when an earlier checker couldn't check the app, or when- /// the app is not installed and the entry is more than `longestAbsence` past due. With two copies at two- /// builds, the entry describes one of them and stays.+ /// describes, which also makes that app due at once, when an earlier checker couldn't check the app or gave the+ /// answer about a copy this checker asks nobody about, or when the app is not installed and the entry is more+ /// than `longestAbsence` past due. With two copies at two builds, the entry describes one of them and stays.public static func recalled(from memory: [String: UpdateMemory],for apps: [InstalledApp],@@ -60,11 +60,16 @@ public struct UpdateMemory: Codable, Equatable, Sendable {) -> [String: UpdateMemory] {let installed = InstalledApp.byIdentifier(apps)return memory.filter { identifier, entry in- if entry.status == .unsupported, entry.revision ?? 1 < UpdateChecker.revision { return false }+ let isEarlier = entry.revision ?? 1 < UpdateChecker.revision+ if entry.status == .unsupported, isEarlier { return false }guard let copies = installed[identifier] else {return entry.schedule.due.addingTimeInterval(longestAbsence) > now}- return copies.contains(where: entry.describes)+ let described = copies.filter(entry.describes)+ // An earlier checker may have asked a source this one no longer reads, and answering such a copy again+ // costs no request.+ if isEarlier, described.contains(where: UpdateChecker.asksNobody(about:)) { return false }+ return !described.isEmpty}}}diff --git a/Packages/PeelCore/Tests/PeelCoreTests/UpdateCheckerTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/UpdateCheckerTests.swiftindex 8e947670..8d55f325 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/UpdateCheckerTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/UpdateCheckerTests.swift@@ -104,6 +104,30 @@ private final class CannedProtocol: URLProtocol, @unchecked Sendable {#expect(await checker.status(for: sparkleApp()) == .upToDate)}+ @Test func asksNothingAboutAnAppFromSetapp() async throws {+ reply("feed.example.com", appcast("<item><enclosure url=\"https://feed.example.com/a.zip\" sparkle:version=\"200\" sparkle:shortVersionString=\"2.0\" /></item>"))+ func inspected(_ identifier: String, in directory: borrowing TemporaryDirectory) throws -> InstalledApp {+ let info = [+ "CFBundleIdentifier": identifier, "CFBundleShortVersionString": "1.0", "CFBundleVersion": "100",+ "SUFeedURL": "https://feed.example.com/appcast.xml",+ ]+ let data = try PropertyListSerialization.data(fromPropertyList: info, format: .xml, options: 0)+ try data.write(to: directory.file("Sample.app/Contents/Info.plist"))+ return try #require(AppInspector.inspect(directory.url.appending(path: "Sample.app")))+ }++ let fromSetapp = try TemporaryDirectory()+ #expect(await checker.status(for: try inspected("org.example.Sample-setapp", in: fromSetapp)) == .unsupported)+ #expect(CannedProtocol.asked.withLock { $0 }.isEmpty)++ let sold = try TemporaryDirectory()+ #expect(+ await checker.status(for: try inspected("org.example.Sample", in: sold))+ == .updateAvailable(version: "2.0", source: .developer, releaseNotes: nil)+ )+ #expect(CannedProtocol.asked.withLock { $0 } == ["feed.example.com"])+ }+/// Only a 200 is an answer, and what is not an appcast is a failed check.@Test func readsOnlyAProperAnswer() async {reply("feed.example.com", status: 404, appcast("<item><sparkle:version>999</sparkle:version></item>"))diff --git a/Packages/PeelCore/Tests/PeelCoreTests/UpdateMemoryTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/UpdateMemoryTests.swiftindex 30661c52..696f8d9d 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/UpdateMemoryTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/UpdateMemoryTests.swift@@ -3,16 +3,25 @@ import Foundationimport Testingstruct UpdateMemoryTests {- private func app(_ version: String, build: String = "1") -> InstalledApp {+ private func app(_ version: String, build: String = "1", feed: UpdateFeed? = nil) -> InstalledApp {InstalledApp(url: URL(filePath: "/Applications/Foo.app", directoryHint: .isDirectory),bundleIdentifier: "com.example.foo",name: "Foo",version: version,- buildVersion: build+ buildVersion: build,+ updateFeed: feed)}+ private let feed = UpdateFeed.sparkle(URL(string: "https://feed.example.com/appcast.xml")!)++ private func savedByAnEarlierChecker(_ entry: UpdateMemory) throws -> UpdateMemory {+ var object = try #require(JSONSerialization.jsonObject(with: JSONEncoder().encode(entry)) as? [String: Any])+ object.removeValue(forKey: "revision")+ return try JSONDecoder().decode(UpdateMemory.self, from: JSONSerialization.data(withJSONObject: object))+ }+private let schedule = UpdateSchedule.next(after: .upToDate, following: nil)/// An answer is about the build it was given for. If the app updates itself while Peel is closed, the@@ -77,7 +86,19 @@ struct UpdateMemoryTests {[String: UpdateMemory].self,from: Data(String(decoding: saved, as: UTF8.self).replacingOccurrences(of: "unsupported", with: "upToDate").utf8))- #expect(UpdateMemory.recalled(from: upToDate, for: [app("1.0")], now: now) == upToDate)+ #expect(UpdateMemory.recalled(from: upToDate, for: [app("1.0", feed: feed)], now: now) == upToDate)+ }++ @Test func forgetsWhatAnEarlierCheckerSaidOfAnAppNobodyIsAskedAbout() throws {+ for status in [UpdateStatus.updateAvailable(version: "2.0"), .upToDate, .failed] {+ let entry = UpdateMemory(status: status, schedule: schedule, checked: .now, describing: app("1.0"))+ let earlier = ["com.example.foo": try savedByAnEarlierChecker(entry)]+ #expect(UpdateMemory.recalled(from: earlier, for: [app("1.0")]).isEmpty, "\(status)")+ #expect(UpdateMemory.recalled(from: earlier, for: [app("1.0", feed: feed)]) == earlier, "\(status)")++ let current = ["com.example.foo": entry]+ #expect(UpdateMemory.recalled(from: current, for: [app("1.0")]) == current, "\(status)")+ }}/// An entry stored by an earlier version of Peel names no build, so it describes no app, and the app isdiff --git a/Packages/PeelCore/Tests/PeelCoreTests/UpdateTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/UpdateTests.swiftindex 0f617f67..f368ef8e 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/UpdateTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/UpdateTests.swift@@ -332,16 +332,18 @@ struct UpdateFeedDetectionTests {private func bundle(info: [String: String],files: [String: String] = [:],+ identifier: String = "com.example.app",+ at path: String = "Example.app",in directory: borrowing TemporaryDirectory) throws -> URL {var plist = info- plist["CFBundleIdentifier"] = "com.example.app"+ plist["CFBundleIdentifier"] = identifierlet data = try PropertyListSerialization.data(fromPropertyList: plist, format: .xml, options: 0)- try data.write(to: directory.file("Example.app/Contents/Info.plist"))- for (path, contents) in files {- try Data(contents.utf8).write(to: directory.file("Example.app/Contents/\(path)"))+ try data.write(to: directory.file("\(path)/Contents/Info.plist"))+ for (file, contents) in files {+ try Data(contents.utf8).write(to: directory.file("\(path)/Contents/\(file)"))}- return directory.url.appending(path: "Example.app")+ return directory.url.appending(path: path)}@Test func detectsSparkleOverHTTPSOnly() throws {@@ -400,20 +402,51 @@ struct UpdateFeedDetectionTests {let info = ["SUFeedURL": "https://example.com/appcast.xml"]#expect(- UpdateFeed.detect(info: info, electronConfiguration: nil, appStoreListing: nil, isSystemProtected: true)+ UpdateFeed.detect(+ info: info, electronConfiguration: nil, appStoreListing: nil,+ isSystemProtected: true, isFromSetapp: false+ )== nil)#expect(- UpdateFeed.detect(info: info, electronConfiguration: nil, appStoreListing: nil, isSystemProtected: false)+ UpdateFeed.detect(+ info: info, electronConfiguration: nil, appStoreListing: nil,+ isSystemProtected: false, isFromSetapp: false+ )== .sparkle(try #require(URL(string: "https://example.com/appcast.xml"))))}+ @Test func leavesAnAppFromSetappToSetapp() throws {+ let feed = ["SUFeedURL": "https://example.com/appcast.xml"]+ let electron = ["Resources/app-update.yml": "provider: generic\nurl: https://example.com/updates/"]+ let suffixed = try TemporaryDirectory()+ let named = try bundle(info: feed, identifier: "org.example.Sample-setapp", in: suffixed)+ #expect(try #require(AppInspector.inspect(named)).updateFeed == nil)++ let electronBuild = try TemporaryDirectory()+ let electronApp = try bundle(info: [:], files: electron, identifier: "org.example.Sample-setapp", in: electronBuild)+ #expect(try #require(AppInspector.inspect(electronApp)).updateFeed == nil)++ let setappFolder = try TemporaryDirectory()+ let placed = try bundle(+ info: feed, identifier: "org.example.Sample", at: "Applications/Setapp/Sample.app", in: setappFolder+ )+ #expect(try #require(AppInspector.inspect(placed)).updateFeed == nil)++ let elsewhere = try TemporaryDirectory()+ let direct = try bundle(info: feed, identifier: "org.example.Sample", at: "Sample.app", in: elsewhere)+ #expect(try #require(AppInspector.inspect(direct)).updateFeed == .sparkle(URL(string: feed["SUFeedURL"]!)!))+ }+@Test func peelReadsItsOwnFeedAsAnySparkleAppDoes() throws {let feed = "https://github.com/TuguiDragos/Peel/releases/latest/download/appcast.xml"let peel = ["CFBundleIdentifier": "com.tuguidragos.Peel", "SUFeedURL": feed]#expect(- UpdateFeed.detect(info: peel, electronConfiguration: nil, appStoreListing: nil, isSystemProtected: false)+ UpdateFeed.detect(+ info: peel, electronConfiguration: nil, appStoreListing: nil,+ isSystemProtected: false, isFromSetapp: false+ )== .sparkle(URL(string: feed)!))#expect(@@ -421,7 +454,8 @@ struct UpdateFeedDetectionTests {info: ["CFBundleIdentifier": "com.tuguidragos.Peel"],electronConfiguration: nil,appStoreListing: nil,- isSystemProtected: false+ isSystemProtected: false,+ isFromSetapp: false) == nil)}diff --git a/Peel/Views/UpdateStatusBadge.swift b/Peel/Views/UpdateStatusBadge.swiftindex bb5bf572..59a7cce2 100644--- a/Peel/Views/UpdateStatusBadge.swift+++ b/Peel/Views/UpdateStatusBadge.swift@@ -69,6 +69,8 @@ struct UpdateStatusBadge: View {}} else if app.isSystemProtected {Text("\(app.name) came with macOS. Software Update is what keeps it current, so Peel has nothing to ask.")+ } else if app.isFromSetapp {+ Text("\(app.name) came from Setapp. Setapp is what keeps it current, so Peel has nothing to ask.")} else if app.version == nil {Text("\(app.name) doesn’t say which version it is, so Peel has nothing to compare an update with. Look for an update inside the app.")} else if app.isFromAppStore {