Tweak desktop instructions (#3069)
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.
This commit is contained in:
parent
ba5e7d4013
commit
3c91f90dc9
1 changed files with 11 additions and 11 deletions
22
README.md
22
README.md
|
@ -113,12 +113,14 @@ pre-built version from https://riot.im/desktop.html or, if you prefer,
|
||||||
built it yourself.
|
built it yourself.
|
||||||
|
|
||||||
To run as a desktop app:
|
To run as a desktop app:
|
||||||
```
|
|
||||||
npm install
|
1. Follow the instructions in 'Building From Source' above
|
||||||
npm install electron
|
2. Install electron and run it:
|
||||||
npm run build
|
|
||||||
node_modules/.bin/electron .
|
```
|
||||||
```
|
npm install electron
|
||||||
|
node_modules/.bin/electron .
|
||||||
|
```
|
||||||
|
|
||||||
To build packages, use electron-builder. This is configured to output:
|
To build packages, use electron-builder. This is configured to output:
|
||||||
* dmg + zip for macOS
|
* dmg + zip for macOS
|
||||||
|
@ -141,11 +143,9 @@ npm run build:electron
|
||||||
|
|
||||||
For other packages, use electron-builder manually. For example, to build a package
|
For other packages, use electron-builder manually. For example, to build a package
|
||||||
for 64 bit Linux:
|
for 64 bit Linux:
|
||||||
```
|
|
||||||
npm install
|
1. Follow the instructions in 'Building From Source' above
|
||||||
npm run build
|
2. `node_modules/.bin/build -l --x64`
|
||||||
node_modules/.bin/build -l --x64
|
|
||||||
```
|
|
||||||
|
|
||||||
All electron packages go into `electron/dist/`
|
All electron packages go into `electron/dist/`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue