Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

An app's new signer is shown before its scan ends

Țugui Dragoș4dbf81a9d248
diff --git a/Peel/Views/AppDetailView.swift b/Peel/Views/AppDetailView.swift
index 714c0950..b47dd0d5 100644
--- a/Peel/Views/AppDetailView.swift
+++ b/Peel/Views/AppDetailView.swift
@@ -142,6 +142,19 @@ struct AppDetailView: View {
}
.listRowSeparator(.hidden)
}
+ if let change = library.teamChanges[plan.app.bundleIdentifier] {
+ Notice(
+ title: change.current.isEmpty ? Text("No developer signs this app anymore") : Text("This app is signed by someone else now"),
+ detail: change.current.isEmpty
+ ? Text("It was first seen signed by \(change.previous). A copy someone has changed looks like this, and so does one built from source.")
+ : Text("It was first seen signed by \(change.previous), and is signed by \(change.current) now."),
+ kind: .caution,
+ systemImage: "exclamationmark.shield.fill"
+ ) {
+ Button("Got It") { Task { await library.acknowledgeTeamChange(for: plan.app) } }
+ }
+ .listRowSeparator(.hidden)
+ }
if let scan = plan.scan {
if !scan.unreadableLocations.isEmpty {
FullDiskAccessBanner()
@@ -159,20 +172,6 @@ struct AppDetailView: View {
}
Group {
- if let change = library.teamChanges[plan.app.bundleIdentifier] {
- Notice(
- title: change.current.isEmpty ? Text("No developer signs this app anymore") : Text("This app is signed by someone else now"),
- detail: change.current.isEmpty
- ? Text("It was first seen signed by \(change.previous). A copy someone has changed looks like this, and so does one built from source.")
- : Text("It was first seen signed by \(change.previous), and is signed by \(change.current) now."),
- kind: .caution,
- systemImage: "exclamationmark.shield.fill"
- ) {
- Button("Got It") { Task { await library.acknowledgeTeamChange(for: plan.app) } }
- }
- .listRowSeparator(.hidden)
- }
-
SystemExtensionNotice(app: plan.app, extensions: plan.systemExtensions)
.listRowSeparator(.hidden)