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.

Leave ~/Library/Photos alone, and don't ask macOS about it

Țugui Dragoșccc751eada10
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ccbbd5ed..69c090a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -455,6 +455,8 @@ its changes the way [Keep a Changelog](https://keepachangelog.com/) suggests.
#### Applications
+- Without Full Disk Access, an app's page no longer makes macOS ask about your photos, since `~/Library/Photos` isn't
+ looked into.
- On macOS 27, the list keeps its place when the first update arrives or the last one leaves.
- A system extension macOS is updating is named once on its app's page and in `peel uninstall`.
- Folders of apps are read each on a thread of its own within a time limit, so one that doesn't answer is named and
diff --git a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
index 4607ba88..f4cf5028 100644
--- a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
+++ b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift
@@ -30,6 +30,7 @@ public enum ProtectedData: Sendable {
"Library/Calendars",
"Library/Reminders",
"Library/Contacts",
+ "Library/Photos",
"Library/Shortcuts",
"Library/Group Containers/group.is.workflow.shortcuts",
"Library/Group Containers/group.is.workflow.my.app",
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/AttackRemovalGuardTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/AttackRemovalGuardTests.swift
index 4e0bc540..3654ef03 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/AttackRemovalGuardTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/AttackRemovalGuardTests.swift
@@ -602,7 +602,7 @@ struct AttackRemovalGuardTests {
"Library/Containers/com.apple.Stickies/Data/Library/Stickies",
"Library/Containers/com.apple.Safari/Data/Library/Safari/SafariTabs.db",
"Library/Shortcuts", "Library/HomeKit", "Library/Accounts", "Library/Finance", "Library/IdentityServices",
- "Library/Reminders", "Library/Calendars",
+ "Library/Reminders", "Library/Calendars", "Library/Photos",
"Library/Application Support/CallHistoryTransactions", "Library/Application Support/FaceTime",
]
for store in stores {
diff --git a/SAFETY.md b/SAFETY.md
index d18e69f9..1fbf785a 100644
--- a/SAFETY.md
+++ b/SAFETY.md
@@ -46,6 +46,7 @@ In the Library of every account on the Mac and, for the last rows, in the home f
| `Mail`, `Messages` | Your mail and your messages. A Mail plug-in in `Mail/Bundles`, or the copy Mail keeps of it in `Application Support/Mail/Plug-ins/Bundles`, which hold code and no mail, may go. |
| `Safari` | Bookmarks, history, reading list. |
| `Calendars`, `Reminders` | Your calendars and reminders, where older systems kept them. |
+| `Photos` | The library macOS keeps of what people shared with you. |
| `Group Containers/` any of Apple's own | Where macOS 26 keeps notes, reminders, calendars, voice memos, the journal, and more. Apple moves these between releases, so they are recognized by their name (`com.apple.` after an optional team and an optional `group.`, `groups.`, or `systemgroup.`), not from a list. |
| `Shortcuts` and its two group containers, `HomeKit`, `Accounts`, `Finance`, `IdentityServices` | Your shortcuts, your home, and your accounts and what they hold. |
| `Application Support/FaceTime`, `Application Support/CallHistoryTransactions` | Calls. |