Skip to content

Commit f8c2529

Browse files
committed
doc how i had to build seshat
1 parent fe78139 commit f8c2529

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docs/native-node-modules.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,10 @@ using yarn inside the `electron_app/` directory:
3838

3939
yarn add matrix-seshat
4040

41-
After this is done the Electron version of Riot can be run from the main folder
42-
as usual using:
43-
44-
yarn electron
45-
46-
If for some reason recompilation of Seshat is needed, e.g. when using a
47-
development version of Seshat using `yarn link`, or if the initial compilation was
48-
done for the wrong electron version, Seshat can be recompiled with the
49-
`electron-build-env` tool. Again from the `electron_app/` directory:
41+
You will have to rebuild the native libraries against electron's version of
42+
of node rather than your system node, using the `electron-build-env` tool.
43+
This is also needed to when pulling in changes to Seshat using `yarn link`.
44+
Again from the `electron_app/` directory:
5045

5146
yarn add electron-build-env
5247

@@ -57,3 +52,10 @@ Recompiling Seshat itself can be done like so:
5752
Please make sure to include all the `--` as well as the `--release` command line
5853
switch at the end. Modify your electron version accordingly depending on the
5954
version that is installed on your system.
55+
56+
After this is done the Electron version of Riot can be run from the main folder
57+
as usual using:
58+
59+
yarn build
60+
yarn electron
61+

0 commit comments

Comments
 (0)