native-node-modules: Reword the second paragraph.

This commit is contained in:
Damir Jelić 2019-11-26 10:13:38 +01:00
parent b52141d6a8
commit 5f6636e28b

View file

@ -4,11 +4,11 @@ For some features, the desktop version of Riot can make use of native Node
modules. These allow Riot to integrate with the desktop in ways that a browser modules. These allow Riot to integrate with the desktop in ways that a browser
cannot. cannot.
While handy, these modules must be compiled and are thus downloaded While native modules enable powerful new features, they must be complied for
pre-compiled during build so that a single OS can compile Riot for all each operating system. For official Riot releases, we will always build these
platforms. If you would like to compile the native node modules from source, modules from source to ensure we can trust the compiled output. In the future,
as is done for Riot releases, instead of trusting binaries hosted on npm, we may offer a pre-compiled path for those who want to use these features in a
then please read on. custom build of Riot without installing the various build tools required.
Do note that compiling a module for a particular operating system Do note that compiling a module for a particular operating system
(Linux/macOS/Windows) and will need to be done on that operating system. (Linux/macOS/Windows) and will need to be done on that operating system.