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..2d52d74720db74eede118adc7abcaee6096bd2ac |
--- /dev/null |
+++ b/chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.bat |
@@ -0,0 +1,7 @@ |
+:: Copyright 2014 The Chromium Authors. All rights reserved. |
+:: Use of this source code is governed by a BSD-style license that can be |
+:: found in the LICENSE file. |
+ |
+:: Change HKCU to HKLM if you want to install globally. |
+:: %~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 |