diff --git a/docs/native_node_modules.md b/docs/native_node_modules.md index 24b71cf1c0..493cdcc901 100644 --- a/docs/native_node_modules.md +++ b/docs/native_node_modules.md @@ -13,7 +13,9 @@ Do note that compiling a module for a particular operating system (Linux/Mac/Win If you would like to rebuild the module yourself and replace the downloaded binaries, use the following commands from Riot's root directory: ```bash -cd electron_app/node_modules +cd electron_app +npm i +cd node_modules rm -rf iohook git clone https://github.com/matrix-org/iohook cd iohook @@ -44,4 +46,6 @@ ostype="darwin" folder="electron-v69-$ostype-x$osarch" mkdir -p builds/$folder/build/Release cp build/Release/iohook.node builds/$folder/build/Release/ -``` \ No newline at end of file +``` + +The electron version of Riot can then be built normally according to the [build instructions](../README.md#running-as-a-desktop-app). \ No newline at end of file