Skip to content

Commit

Permalink
Tweak desktop instructions (element-hq#3069)
Browse files Browse the repository at this point in the history
to make it clear you need to do all the things in 'building from
source', including the build-react-sdk dance if you're building
develop.
  • Loading branch information
dbkr authored and Half-Shot committed Feb 9, 2017
1 parent a6350e1 commit 6b4283d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,14 @@ pre-built version from https://riot.im/desktop.html or, if you prefer,
built it yourself.

To run as a desktop app:
```
npm install
npm install electron
npm run build
node_modules/.bin/electron .
```

1. Follow the instructions in 'Building From Source' above
2. Install electron and run it:

```
npm install electron
node_modules/.bin/electron .
```

To build packages, use electron-builder. This is configured to output:
* dmg + zip for macOS
Expand All @@ -137,11 +139,9 @@ npm run build:electron

For other packages, use electron-builder manually. For example, to build a package
for 64 bit Linux:
```
npm install
npm run build
node_modules/.bin/build -l --x64
```

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

All electron packages go into `electron/dist/`

Expand Down

0 comments on commit 6b4283d

Please sign in to comment.