fix: issues with the app mediathekview (closes #822)

This commit is contained in:
Louis Pontoise
2021-02-16 15:08:27 +09:00
committed by lwouis
parent ee5c44fd96
commit 0181547ae8
+1
View File
@@ -27,6 +27,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\\.install4j\\..+?$", options: .regularExpression) != nil ||
app.bundleIdentifier?.range(of: "^com\\.live2d\\.cubism\\..+?$", options: .regularExpression) != nil ||
app.bundleIdentifier?.range(of: "^com\\.jetbrains\\..+?$", options: .regularExpression) != nil {
return n.filter { $0 != kAXFocusedUIElementChangedNotification }