具体方式如下,计算机用户名采用<用户>表示,根据需要进行修改
- 1、打开C:\Users<用户>\AppData\Local\Encootech\BotTime Studio\IDE,复制chromemessagehost文件夹

2、打开C:\Users<用户>\AppData\Local\BotTime
在BotTime目录下新建messagehost文件夹,然后将chromemessagehost文件夹复制进去,将文件夹名称修改为Chrome

3、将C:\Users<用户>\AppData\Local\BotTime\messagehost\chrome文件夹下的
bottimechromemessagehost.json 中
path对应值修改为
C:\Users<用户>\AppData\Local\BotTime\messagehost\chrome\BottimeNaivemessagehost.exe

4、打开计算机注册表
在桌面输入win+R键打开运行窗口输入regedit

5、在注册表中:
查看是否有\HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts项,若没有则新建NativeMessagingHosts项,若存在则找到\HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts\com.bottime.chrome.msghost
查看是否有键值指向:
C:\Users\15120\AppData\Local\BotTime\messagehost\chrome\bottimechromemessage.json
如没有则右击新建项,键值指向C:\Users<用户>\AppData\Local\BotTime\messagehost\chrome文件夹下的bottimechromemessagehost.json

- 6、把接收到的Chrome插件拖到扩展程序,并打开右侧开关。插件位置在IDE安装目录在C:\Users<用户>\AppData\Local\Encootech\BotTime Studio\IDE\chromeextension文件夹里。
