From beb2853bbff52b385a46afa58d7cdbf04660277f Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 18 Jun 2015 12:59:13 +0800 Subject: [PATCH] Update how to rebrand from source, close #1999 --- docs/tutorial/application-distribution.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/docs/tutorial/application-distribution.md b/docs/tutorial/application-distribution.md index c96a53bcbeee..c0e8bebc4041 100644 --- a/docs/tutorial/application-distribution.md +++ b/docs/tutorial/application-distribution.md @@ -106,26 +106,8 @@ You can rename the `electron` executable to any name you like. ## Rebranding by rebuilding Electron from source It is also possible to rebrand Electron by changing the product name and -building it from source. To do this you need to override the `GYP_DEFINES` -environment variable and have a clean rebuild: - -__Windows__ - -```bash -> set "GYP_DEFINES=project_name=myapp product_name=MyApp" -> python script\clean.py -> python script\bootstrap.py -> python script\build.py -c R -t myapp -``` - -__Bash__ - -```bash -$ export GYP_DEFINES="project_name=myapp product_name=MyApp" -$ script/clean.py -$ script/bootstrap.py -$ script/build.py -c Release -t myapp -``` +building it from source. To do this you need to modify the `atom.gyp` file and +have a clean rebuild. ### grunt-build-atom-shell