Skip to content

Commit

Permalink
perf: add apps for error kAXErrorAttributeUnsupported (tisfeng#84)
Browse files Browse the repository at this point in the history
Add Keynote, Numbers, WeChat, iBooks, and Freeform
  • Loading branch information
Jerry23011 committed May 7, 2023
1 parent 9818ec7 commit 258aff4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Easydict/Feature/EventMonitor/EZEventMonitor.m
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,11 @@ - (BOOL)checkIfNeedUseShortcut:(NSString *)text error:(AXError)error {
@"com.sublimetext.4", // Sublime Text
@"com.microsoft.Word", // Word
@"com.apple.iWork.Pages", // Pages, FIX: https://github.com/tisfeng/Easydict/issues/84#issuecomment-1535885832
@"com.apple.iWork.Keynote", // Keynote
@"com.apple.iWork.Numbers", // Numbers
@"com.tencent.xinWeChat", // WeChat
@"com.apple.iBooksX", // iBooks
@"com.apple.freeform", // Freeform
],

// kAXErrorFailure
Expand Down

0 comments on commit 258aff4

Please sign in to comment.