@@ -108,40 +108,7 @@ Riot can also be run as a desktop app, wrapped in Electron. You can download a
108108pre-built version from https://riot.im/download/desktop/ or, if you prefer,
109109build it yourself.
110110
111- To build it yourself, follow the instructions below.
112-
113- 1 . Follow the instructions in 'Building From Source' above, but run
114- ` yarn build ` instead of ` yarn dist ` (since we don't need the tarball).
115- 2 . Install Electron and run it:
116-
117- ``` bash
118- yarn electron
119- ```
120-
121- To build packages, use ` electron-builder ` . This is configured to output:
122- * ` dmg ` + ` zip ` for macOS
123- * ` exe ` + ` nupkg ` for Windows
124- * ` deb ` for Linux
125- But this can be customised by editing the ` build ` section of package.json
126- as per https://github.com/electron-userland/electron-builder/wiki/Options
127-
128- See https://github.com/electron-userland/electron-builder/wiki/Multi-Platform-Build
129- for dependencies required for building packages for various platforms.
130-
131- The only platform that can build packages for all three platforms is macOS:
132- ``` bash
133- brew install mono
134- yarn install
135- yarn build:electron
136- ```
137-
138- For other packages, use ` electron-builder ` manually. For example, to build a
139- package for 64 bit Linux:
140-
141- 1 . Follow the instructions in 'Building From Source' above
142- 2 . ` node_modules/.bin/build -l --x64 `
143-
144- All Electron packages go into ` electron_app/dist/ `
111+ To build it yourself, follow the instructions at https://github.com/vector-im/riot-desktop .
145112
146113Many thanks to @aviraldg for the initial work on the Electron integration.
147114
@@ -310,7 +277,7 @@ modifying it. See the [configuration docs](docs/config.md) for details.
310277
311278Open http://127.0.0.1:8080/ in your browser to see your newly built Riot.
312279
313- ** Note** : The build script uses inotify by default on Linux to monitor directories
280+ ** Note** : The build script uses inotify by default on Linux to monitor directories
314281for changes. If the inotify watch limit is too low your build will silently fail.
315282To avoid this issue, we recommend a limit of at least 128M.
316283
0 commit comments