Skip to content

Commit

Permalink
fix: eudic2 shortcut did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed May 9, 2024
1 parent f5e9ec1 commit 03202c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Easydict/objc/EventMonitor/EZEventMonitor.m
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@ - (BOOL)isSupportEmptyCopy {

@"com.eusoft.freeeudic", // Eudic
@"com.eusoft.eudic",
@"eusoft.eudic.ip",
@"com.reederapp.5.macOS", // Reeder
@"com.apple.ScriptEditor2", // 脚本编辑器
@"abnerworks.Typora", // Typora
Expand Down
2 changes: 1 addition & 1 deletion Easydict/objc/ViewController/View/Titlebar/EZTitlebar.m
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ - (void)setPin:(BOOL)pin {
// Eudic
if (Configuration.shared.showEudicQuickLink) {
// !!!: Note that some applications have multiple channel versions. Refer: https://github.com/tisfeng/Raycast-Easydict/issues/16
BOOL installedEudic = [self checkInstalledApp:@[ @"com.eusoft.freeeudic", @"com.eusoft.eudic" ]];
BOOL installedEudic = [self checkInstalledApp:@[ @"com.eusoft.freeeudic", @"com.eusoft.eudic", @"eusoft.eudic.ip" ]];
if (installedEudic) {
[shortcutButtonTypes addObject:@(EZTitlebarButtonTypeEudicDic)];
}
Expand Down

0 comments on commit 03202c0

Please sign in to comment.