From f8c2529d440ade534791ce4bde9a6d3ffb1dc99b Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 27 Nov 2019 02:22:41 +0000 Subject: [PATCH] doc how i had to build seshat --- docs/native-node-modules.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/native-node-modules.md b/docs/native-node-modules.md index 6e3dce45..54c741a1 100644 --- a/docs/native-node-modules.md +++ b/docs/native-node-modules.md @@ -38,15 +38,10 @@ using yarn inside the `electron_app/` directory: yarn add matrix-seshat -After this is done the Electron version of Riot can be run from the main folder -as usual using: - - yarn electron - -If for some reason recompilation of Seshat is needed, e.g. when using a -development version of Seshat using `yarn link`, or if the initial compilation was -done for the wrong electron version, Seshat can be recompiled with the -`electron-build-env` tool. Again from the `electron_app/` directory: +You will have to rebuild the native libraries against electron's version of +of node rather than your system node, using the `electron-build-env` tool. +This is also needed to when pulling in changes to Seshat using `yarn link`. +Again from the `electron_app/` directory: yarn add electron-build-env @@ -57,3 +52,10 @@ Recompiling Seshat itself can be done like so: Please make sure to include all the `--` as well as the `--release` command line switch at the end. Modify your electron version accordingly depending on the version that is installed on your system. + +After this is done the Electron version of Riot can be run from the main folder +as usual using: + + yarn build + yarn electron +