fix: disable standard tab detection for all JetBrains apps

Not just EAPs; those EAPs have been promoted into standard apps.

Should fix #716
This commit is contained in:
Aarni Koskela
2021-01-26 00:01:55 +09:00
committed by lwouis
parent e576ca1298
commit 25343ea177
+1 -1
View File
@@ -26,7 +26,7 @@ class Application: NSObject {
]
// workaround: some apps exhibit bugs when we subscribe to its kAXFocusedUIElementChangedNotification
// we don't know what's happening; we avoid this subscription to make these app usable
if app.bundleIdentifier == "edu.stanford.protege" || app.bundleIdentifier?.range(of: "^com\\.jetbrains\\..+?EAP$", options: .regularExpression) != nil {
if app.bundleIdentifier == "edu.stanford.protege" || app.bundleIdentifier?.range(of: "^com\\.jetbrains\\..+?$", options: .regularExpression) != nil {
return n.filter { $0 != kAXFocusedUIElementChangedNotification }
}
return n