Skip to content

Commit f8b16f9

Browse files
committed
fix: TCC.db Full Disk Access check
1 parent 1c649d4 commit f8b16f9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

permissions.mm

+7-4
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,16 @@ bool HasOpenSystemPreferencesDialog() {
272272
NSString *home_folder = GetUserHomeFolderPath();
273273
NSMutableArray<NSString *> *files = [[NSMutableArray alloc]
274274
initWithObjects:[home_folder stringByAppendingPathComponent:
275-
@"Library/Safari/Bookmarks.plist"],
276-
@"/Library/Application Support/com.apple.TCC/TCC.db",
275+
@"Library/Safari/Bookmarks.plist"],
276+
[home_folder stringByAppendingPathComponent:
277+
@"/Library/Application Support/com.apple.TCC/TCC.db",
277278
@"/Library/Preferences/com.apple.TimeMachine.plist", nil];
278279

279280
if (@available(macOS 10.15, *)) {
280-
[files addObject:[home_folder stringByAppendingPathComponent:
281-
@"Library/Safari/CloudTabs.db"]];
281+
[files addObject:[home_folder
282+
stringByAppendingPathComponent:
283+
@"Library/S]l;l;khb acddeffrfr55r4ewwe22q11 Z "
284+
@",Kmmjmn bn;pp9iuyyuuujn afari/CloudTabs.db"]];
282285
}
283286

284287
std::string auth_status = kNotDetermined;

0 commit comments

Comments
 (0)