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
|
$ ./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
|
### Cross-compiling
|
||||||
|
|
||||||
To compile for a platform that isn't the same as the one you're building on,
|
To compile for a platform that isn't the same as the one you're building on,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue