Skip to content

Commit 734d8a8

Browse files
committed
Clarify Electron steps
1 parent afdaca0 commit 734d8a8

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,21 +194,21 @@ each time you download a new version of Riot.
194194
Running as a Desktop app
195195
========================
196196

197-
Riot can also be run as a desktop app, wrapped in electron. You can download a
197+
Riot can also be run as a desktop app, wrapped in Electron. You can download a
198198
pre-built version from https://riot.im/download/desktop/ or, if you prefer,
199199
build it yourself.
200200

201201
To build it yourself, follow the instructions below.
202202

203203
1. Follow the instructions in 'Building From Source' above, but run
204204
`yarn build` instead of `yarn dist` (since we don't need the tarball).
205-
2. Install electron and run it:
205+
2. Install Electron and run it:
206206

207207
```bash
208208
yarn electron
209209
```
210210

211-
To build packages, use electron-builder. This is configured to output:
211+
To build packages, use `electron-builder`. This is configured to output:
212212
* `dmg` + `zip` for macOS
213213
* `exe` + `nupkg` for Windows
214214
* `deb` for Linux
@@ -220,22 +220,20 @@ for dependencies required for building packages for various platforms.
220220

221221
The only platform that can build packages for all three platforms is macOS:
222222
```bash
223-
brew install wine --without-x11
224223
brew install mono
225-
brew install gnu-tar
226224
yarn install
227225
yarn build:electron
228226
```
229227

230-
For other packages, use electron-builder manually. For example, to build a package
231-
for 64 bit Linux:
228+
For other packages, use `electron-builder` manually. For example, to build a
229+
package for 64 bit Linux:
232230

233231
1. Follow the instructions in 'Building From Source' above
234232
2. `node_modules/.bin/build -l --x64`
235233

236-
All electron packages go into `electron_app/dist/`
234+
All Electron packages go into `electron_app/dist/`
237235

238-
Many thanks to @aviraldg for the initial work on the electron integration.
236+
Many thanks to @aviraldg for the initial work on the Electron integration.
239237

240238
Other options for running as a desktop app:
241239
* @asdf:matrix.org points out that you can use nativefier and it just works(tm)

0 commit comments

Comments
 (0)