blob: 5d5ba75275d34d05c01d6ae599227713e971de25 [file] [log] [blame]
This directory contains an example of chrome application that uses native
messaging API that allows to communicate with a native application.
In order for this example to work you must first install the native messaging
host from the host directory.
To install the host:
On Windows:
Add registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.google.chrome.example.echo
and set its default value to the full path to
host\com.google.chrome.example.echo-win.json . Note that you need to have
python installed.
On Mac and Linux:
Run install_host.sh script in the host directory:
sudo host/install_host.sh
You can later use host/uninstall_host.sh to uninstall the host.