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/" ]
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章