tisfeng / Raycast-Easydict

A Raycast Extension for looking up words or translating text in an easy way. Support 48+ languages, support Linguee and Youdao dictionary, support OpenAI, DeepL, Google, Bing, Apple, Baidu, Tencent, Volcano, Youdao and Caiyun translation.
https://www.raycast.com/isfeng/easydict
MIT License
382 stars 21 forks source link

如何打开电脑内置的欧陆词典 #16

Closed akiraruan closed 2 years ago

akiraruan commented 2 years ago

请问一下怎么打开电脑内置的欧陆词典,我看readme上是支持的,但是没发现在哪里打开

github-actions[bot] commented 2 years ago

Thank you for your first issue contribution! akiraruan

tisfeng commented 2 years ago

@akiraruan 如果你电脑上安装了欧路词典,查询单词后在右下角会自动显示一个 Open In Eudic 按钮。

akiraruan commented 2 years ago

谢谢回复,但是我电脑上没出现这个按钮,截图如下,多次重装插件和欧陆都没能解决问题。我用的是欧陆普通版,是仅支持高级版吗,还是我欧陆的设置哪里出了问题。

image
tisfeng commented 2 years ago

不,目前仅支持普通版,我没用高级版测过。这看起来像个 bug,你复制看一下欧路词典的 buildle id 是什么?

Raycast 2022-07-31 at 13 10 00
akiraruan commented 2 years ago

com.eusoft.eudic,我是从官网上下载的http://www.eudic.net/v4/en/app/download

tisfeng commented 2 years ago

Ok,破案了,因为欧路词典有多个版本,免费版和高级版,其中又分 App Store 商店版和官网版本,它们的 buildle id 不相同导致😓

稍后我会更新一个版本修复这个问题。

当前代码是写死的 com.eusoft.freeeudic(App Store 免费版),你可以把它改成你的 buildle id 试试。

export const eudicBundleId = "com.eusoft.freeeudic";
akiraruan commented 2 years ago

好的,谢谢作者

tisfeng commented 2 years ago

已向商店提交更新 PR https://github.com/raycast/extensions/pull/2445