Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4581)

Unified Diff: chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.bat

Issue 768373004: Improve native messaging documentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments #4 + fix Python script for Windows Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698