Browse Source

Updated docs

Updated docs to better understand how to use electron-rebuild on Windows
Alexandru Bau 9 years ago
parent
commit
79e593aca6
1 changed files with 6 additions and 1 deletions
  1. 6 1
      docs/tutorial/using-native-node-modules.md

+ 6 - 1
docs/tutorial/using-native-node-modules.md

@@ -31,8 +31,13 @@ which handles the manual steps of downloading headers and building native module
 ```sh
 npm install --save-dev electron-rebuild
 
-# Every time you run npm install, run this
+# Every time you run "npm install", run this
+
+# Linux or Mac
 node ./node_modules/.bin/electron-rebuild
+
+# Windows
+./node_modules/.bin/electron-rebuild
 ```
 
 ### The npm Way