Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
app/ | 03-May-2024 | - | 103 | 81 | ||
host/ | 03-May-2024 | - | 224 | 150 | ||
README.txt | D | 03-May-2024 | 1,008 | 25 | 20 |
README.txt
1This directory contains an example of chrome application that uses native 2messaging API that allows to communicate with a native application. 3 4In order for this example to work you must first install the native messaging 5host from the host directory. 6 7To install the host: 8 9On Windows: 10 Add registry key 11 HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.google.chrome.example.echo 12 or 13 HKEY_CURRENT_USER\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.google.chrome.example.echo 14 and set its default value to the full path to 15 host\com.google.chrome.example.echo-win.json . Note that you need to have 16 python installed. 17 18On Mac and Linux: 19 Run install_host.sh script in the host directory: 20 host/install_host.sh 21 By default the host is installed only for the user who runs the script, but if 22 you run it with admin privileges (i.e. 'sudo host/install_host.sh'), then the 23 host will be installed for all users. You can later use host/uninstall_host.sh 24 to uninstall the host. 25