We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10d305c + cdeb33a commit 76156a9Copy full SHA for 76156a9
src/_macosx.m
@@ -1376,8 +1376,8 @@ - (void)launch:(NSNotification*)notification
1376
CFMachPortRef port;
1377
CFRunLoopSourceRef source;
1378
NSDictionary* dictionary = [notification userInfo];
1379
- if (! [[dictionary valueForKey:@"NSApplicationName"]
1380
- isEqualToString:@"Python"])
+ if (![[dictionary valueForKey:@"NSApplicationName"]
+ localizedCaseInsensitiveContainsString:@"python"])
1381
return;
1382
NSNumber* psnLow = [dictionary valueForKey: @"NSApplicationProcessSerialNumberLow"];
1383
NSNumber* psnHigh = [dictionary valueForKey: @"NSApplicationProcessSerialNumberHigh"];
0 commit comments