From: Cheng Zhao Date: Mon, 20 Apr 2015 11:40:04 +0000 (+0800) Subject: Merge branch 'master' of https://github.com/NKMR6194/electron into NKMR6194-master X-Git-Tag: v0.25.0~7^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=fc3026dcfeffddc4f708cb878bb1259092518f6c;p=electron.git Merge branch 'master' of https://github.com/NKMR6194/electron into NKMR6194-master --- fc3026dcfeffddc4f708cb878bb1259092518f6c diff --cc docs/tutorial/quick-start.md index 0ebd0928,fab7f290..adbe0a91 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@@ -19,14 -19,14 +19,14 @@@ creating web pages ### The renderer process - Since atom-shell uses Chromium for displaying web pages, Chromium's - multi-processes architecture is also used. Each web page in atom-shell runs in + Since Electron uses Chromium for displaying web pages, Chromium's + multi-processes architecture is also used. Each web page in Electron runs in its own process, which is called __the renderer process__. -In normal browsers web pages are usually running in sandboxed environment and -not allowed to access native resources. In Electron users are given the power -to use io.js APIs in web pages, so it would be possible to interactive with -low level operating system in web pages with JavaScript. +In normal browsers web pages usually run in a sandboxed environment and are not - allowed access to native resources. In atom-shell users have the power to use ++allowed access to native resources. In Electron users have the power to use +io.js APIs in web pages and it is therefore possible to interact with low level +operating system features. ### Differences between main process and renderer process @@@ -48,10 -48,10 +48,9 @@@ In Electron, we have provided the [ipc] communication between main process and renderer process. And there is also a [remote](../api/remote.md) module for RPC style communication. - ## Write your first atom-shell app + ## Write your first Electron app - Generally, an atom-shell app would be structured like this (see the -Generally, an Electron app would be structured like this (see the --[hello-atom](https://github.com/dougnukem/hello-atom) repo for reference): ++Generally, an Electron app would be structured like this: ```text your-app/ @@@ -138,13 -138,13 +137,13 @@@ Electron binary to execute your app dir On Windows: ```cmd - $ .\atom-shell\atom.exe your-app\ -$ .\electron\atom.exe your-app\ ++$ .\electron\electron.exe your-app\ ``` On Linux: ```bash - $ ./atom-shell/atom your-app/ -$ ./electron/atom your-app/ ++$ ./electron/electron your-app/ ``` On OS X: