From: Cheng Zhao Date: Thu, 18 Jun 2015 04:59:13 +0000 (+0800) Subject: Update how to rebrand from source, close #1999 X-Git-Tag: v0.28.2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=beb2853bbff52b385a46afa58d7cdbf04660277f;p=electron.git Update how to rebrand from source, close #1999 --- diff --git a/docs/tutorial/application-distribution.md b/docs/tutorial/application-distribution.md index c96a53bc..c0e8bebc 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