Merge pull request #266 from dougnukem/patch-2

Update "app" to "your-app" to avoid module collision with require('app')
This commit is contained in:
Cheng Zhao 2014-05-08 12:22:00 +08:00
commit 7c9c3170f5

View file

@ -43,10 +43,10 @@ use the easy [remote](../api/remote.md) module.
## Write your first atom-shell app ## Write your first atom-shell app
Generally, an atom-shell app would be like this: Generally, an atom-shell app would be like this (see this repo for reference [hello-atom](https://github.com/dougnukem/hello-atom)):
```text ```text
app/ your-app/
├── package.json ├── package.json
├── main.js ├── main.js
└── index.html └── index.html
@ -130,17 +130,17 @@ binary to execute your app directly.
On Windows: On Windows:
```cmd ```cmd
$ .\atom-shell\atom.exe path-to-app\ $ .\atom-shell\atom.exe your-app\
``` ```
On Linux: On Linux:
```bash ```bash
$ ./atom-shell/atom path-to-app/ $ ./atom-shell/atom your-app/
``` ```
On Mac OS X: On Mac OS X:
```bash ```bash
$ ./Atom.app/Contents/MacOS/Atom path-to-app/ $ ./Atom.app/Contents/MacOS/Atom your-app/
``` ```