Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c6ca9d

Browse files
authored
Revert "Backport PR #22179 on branch v3.5.x (FIX: macosx check case-insensitive app name)"
1 parent c454a96 commit 5c6ca9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_macosx.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,8 +1376,8 @@ - (void)launch:(NSNotification*)notification
13761376
CFMachPortRef port;
13771377
CFRunLoopSourceRef source;
13781378
NSDictionary* dictionary = [notification userInfo];
1379-
if (![[dictionary valueForKey:@"NSApplicationName"]
1380-
localizedCaseInsensitiveContainsString:@"python"])
1379+
if (! [[dictionary valueForKey:@"NSApplicationName"]
1380+
isEqualToString:@"Python"])
13811381
return;
13821382
NSNumber* psnLow = [dictionary valueForKey: @"NSApplicationProcessSerialNumberLow"];
13831383
NSNumber* psnHigh = [dictionary valueForKey: @"NSApplicationProcessSerialNumberHigh"];

0 commit comments

Comments
 (0)