fix: prevent matlab freezing (#890)

This commit is contained in:
Louis Pontoise committed 2022-05-12 19:25:37 +09:00
1 parent f16f6ea4d7
commit 0792838b16
1 file changed
+1
+1
View File
@@ -29,6 +29,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 == "com.mathworks.matlab" ||
app.bundleIdentifier?.range(of: "^com\\.install4j\\..+?$", options: .regularExpression) != nil ||
app.bundleIdentifier?.range(of: "^com\\.live2d\\.cubism\\..+?$", options: .regularExpression) != nil ||
app.bundleIdentifier?.range(of: "^org\\.libreoffice\\..+?$", options: .regularExpression) != nil ||