Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Tweak.xmi
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ static void traceURISchemes() {

// Only hook Apps the user has selected in Introspy's settings panel
NSString *appId = [[NSBundle mainBundle] bundleIdentifier];
if (appId == nil) {
appId = [[NSProcessInfo processInfo] processName];
NSLog(@"Introspy - Process has no bundle ID, use process name instead: %@", appId);
}

// Load Introspy preferences
NSMutableDictionary *preferences = [[NSMutableDictionary alloc] initWithContentsOfFile:preferenceFilePath];
id shouldHook = [preferences objectForKey:appId];
Expand Down
1 change: 1 addition & 0 deletions src/introspy.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ Filter = { Bundles = ( "com.apple.Foundation" ); }; }