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:
|
If you would like to rebuild the module yourself and replace the downloaded binaries, use the following commands from Riot's root directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd electron_app/node_modules
|
cd electron_app
|
||||||
|
npm i
|
||||||
|
cd node_modules
|
||||||
rm -rf iohook
|
rm -rf iohook
|
||||||
git clone https://github.com/matrix-org/iohook
|
git clone https://github.com/matrix-org/iohook
|
||||||
cd iohook
|
cd iohook
|
||||||
|
@ -44,4 +46,6 @@ ostype="darwin"
|
||||||
folder="electron-v69-$ostype-x$osarch"
|
folder="electron-v69-$ostype-x$osarch"
|
||||||
mkdir -p builds/$folder/build/Release
|
mkdir -p builds/$folder/build/Release
|
||||||
cp build/Release/iohook.node 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