xushengfeng / eSearch

截屏 离线OCR 搜索翻译 以图搜图 贴图 录屏 万向滚动截屏 屏幕翻译 Screenshot Offline OCR Search Translate Search for picture Paste the picture on the screen Screen recorder Omnidirectional scrolling screenshot Screen translator
https://esearch-app.netlify.app/
GNU General Public License v3.0
5.02k stars 384 forks source link

macos 14.5 (23F79)使用全局自动识别快捷键打开软件,会弹出报错弹窗,叉掉后可以正常使用。弹窗内容详细如下 #258

Closed lxk960772214 closed 4 weeks ago

lxk960772214 commented 3 months ago

描述问题

A JavaScript error occurred in the main process

Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'webContents') at y (/Applications/e-search.app/Contents/Resources/app/out/main/main.js:2:19039) at click (/Applications/e-search.app/Contents/Resources/app/out/main/main.js:2:3949) at MenuItem.click (node:electron/js2c/browser_init:2:30212) at a._executeCommand (node:electron/js2c/browser_init:2:35608)

重现步骤

option+c

期望结果

No response

更多信息

image

操作系统

No response

软件版本

1.12.4

屏幕参数

No response

xushengfeng commented 3 months ago

@lxk960772214 刚刚那个用户提供的链接似乎有害,注意小心

xushengfeng commented 3 months ago

好像是与复制快捷键冲突了,你可以更改自动搜索的快捷键

xushengfeng commented 2 months ago

https://github.com/xushengfeng/eSearch/releases/tag/13.0.0 增加了判断,应该不会报错了