docs: Add information on packaging a build (#17086)

* docs: Add information on packaging a build

* Stripping only applies to linux
This commit is contained in:
Seba Kerckhof 2019-03-09 00:24:00 +01:00 committed by Samuel Attard
parent fc10620082
commit b7fc50b7ca

View file

@ -174,6 +174,18 @@ $ ./out/Debug/electron.exe
$ ./out/Debug/electron
```
### Packaging
On linux, first strip the debugging and symbol information:
```sh
electron/script/strip-binaries.py -d out/Release
```
To package the electron build as a distributable zip file:
```sh
ninja -C out/Release electron:electron_dist_zip
```
### Cross-compiling
To compile for a platform that isn't the same as the one you're building on,