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:
parent
fc10620082
commit
b7fc50b7ca
1 changed files with 12 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue