doc how i had to build seshat

This commit is contained in:
Matthew Hodgson 2019-11-27 02:22:41 +00:00
parent fe7813958a
commit f8c2529d44
1 changed files with 11 additions and 9 deletions

View File

@ -38,15 +38,10 @@ using yarn inside the `electron_app/` directory:
yarn add matrix-seshat yarn add matrix-seshat
After this is done the Electron version of Riot can be run from the main folder You will have to rebuild the native libraries against electron's version of
as usual using: 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`.
yarn electron Again from the `electron_app/` directory:
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:
yarn add electron-build-env 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 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 switch at the end. Modify your electron version accordingly depending on the
version that is installed on your system. 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