change mecab path

https://github.com/siikamiika/yomichan-mecab-installer
This commit is contained in:
siikamiika 2019-11-04 01:25:32 +02:00
parent 515345ba0a
commit 1bf48d24ef

View File

@ -29,7 +29,7 @@ class Mecab {
} }
startListener() { startListener() {
this.port = chrome.runtime.connectNative('mecab'); this.port = chrome.runtime.connectNative('yomichan_mecab');
this.port.onMessage.addListener((message) => { this.port.onMessage.addListener((message) => {
const {sequence, data} = message; const {sequence, data} = message;
const {callback, timer} = this.listeners[sequence] || {}; const {callback, timer} = this.listeners[sequence] || {};