MaoXian web clipper本地程序在macOS Catalina报错DisconnectErr:Native host has exited.

macOS Catalina报错
DisconnectErr:Native host has exited.

google了一下
https://stackoverflow.com/questions/59543692/failed-to-connect-native-host-has-exited

I'm a bit late here, but I just ran into this too. I managed to fix it by moving my host app into /Applications.

I suspect this is related to a Catalina permissions issue, though I wasn't able to find anything relevant in the "Security & Privacy" tab of System Preferences.

这个maoxian要装一个本地程序

现在后解压改一下config.yaml中的data_dir

# ATTENTION: restart the browser to apply your changes.
environment: 'production'
data_dir: '/Users/TiM/Documents/clippings'

# This Application won't using the proxy info of browser.
# We only support http/https proxy.
# UnComment and change below items If you need proxy.

# proxy_url: 'http://127.0.0.1:3000'
# username: 'jake'
# password: 'password'

然后把这个文件夹都挪动到/Applications目录下再./install.sh

就行

总是这个装完了以后这个path要对

 TiM@FanboshideMacBook-Pro  /Library/Google/Chrome/NativeMessagingHosts  ll
total 16
-rw-r--r--  1 root  wheel   277B  3 11 18:09 maoxian_web_clipper_native.json
-rw-r--r--@ 1 root  wheel   226B  3 11 17:54 maoxian_web_clipper_native.json-e

cat maoxian_web_clipper_native.json
{
  "name": "maoxian_web_clipper_native",
  "description": "Native aplication of maoxian web clipper",
  "path": "/Applications/maoxian-web-clipper-native-osx-chrome/main.rb",
  "type": "stdio",
  "allowed_origins": [ "chrome-extension://kjahokgdcbohofgdidndeiaigkehdjdc/" ]
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值