Update instructions to ensure downloaded modules
This commit is contained in:
parent
10d0b728fd
commit
4156034403
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
@ -45,3 +47,5 @@ folder="electron-v69-$ostype-x$osarch"
|
|||
mkdir -p builds/$folder/build/Release
|
||||
cp build/Release/iohook.node builds/$folder/build/Release/
|
||||
```
|
||||
|
||||
The electron version of Riot can then be built normally according to the [build instructions](../README.md#running-as-a-desktop-app).
|
Loading…
Add table
Reference in a new issue