Index: chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.bat |
diff --git a/chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.bat b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.bat |
new file mode 100755 |
index 0000000000000000000000000000000000000000..ec7d4130f56083af57eb6a4c0a78e5a6f9891a28 |
--- /dev/null |
+++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.bat |
@@ -0,0 +1,3 @@ |
+:: Change HKCU to HKLM if you want to install globally. |
Sergey Ulanov
2014/12/11 17:20:29
Please add copyright header in this file.
|
+:: %~dp0 is the directory containing this bat script and ends with a backslash. |
+REG ADD "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.google.chrome.example.echo" /ve /t REG_SZ /d "%~dp0com.google.chrome.example.echo-win.json" /f |