From 3c91f90dc9d325bcf2c8e80fb40067f257ed90d3 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 26 Jan 2017 09:47:01 +0000 Subject: [PATCH] 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. --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e4f043394a..fd6acfd778 100644 --- a/README.md +++ b/README.md @@ -113,12 +113,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 @@ -141,11 +143,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/`