一个向东芝标签打印机发送打印指令的 Chrome 插件。
- nativecall.json
{
"name": "org.leyan95.launchlaunchcloudmusic",
"description": "Chrome sent message to native app.",
"path": "D:\\SysApp\\CloudMusic\\cloudmusic.exe", // Your target program (Here we take Netease cloud music as an example)
"type": "stdio",
"allowed_origins": [
"chrome-extension://aaghkkhobobningoihfhojdjlccbnnna/" // Your plugin id
]
}
- 将
chrome_plugin
目录作为插件进行安装 - 修改
com.shinow.printer-win.json
和nativecall.json
中chrome-extension
后跟的ID
为上一步安装插件的ID
- 执行
install_host.bat
- 打开
index.html
进行测试