]> khamidou — GitHub mirrors - electron.git/commitdiff
Update how to rebrand from source, close #1999
authorCheng Zhao <zcbenz@gmail.com>
Thu, 18 Jun 2015 04:59:13 +0000 (12:59 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 18 Jun 2015 04:59:13 +0000 (12:59 +0800)
docs/tutorial/application-distribution.md

index c96a53bcbeee8b4d6e162ffec8eec1d840db15c0..c0e8bebc40413a46da42fe5e8b3c19b8ac54fd5f 100644 (file)
@@ -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