Change Mac OS X to OS X.

Apple has renamed Mac OS X to OS X.
This commit is contained in:
Xue Fuqiao 2015-02-02 16:21:23 +08:00
parent fd2b2003b4
commit 5083a7505d
5 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
# auto-updater # auto-updater
**This module has only been implemented for Mac OS X.** **This module has only been implemented for OS X.**
The `auto-updater` module is a simple wrap around the The `auto-updater` module is a simple wrap around the
[Squirrel.Mac](https://github.com/Squirrel/Squirrel.Mac) framework. [Squirrel.Mac](https://github.com/Squirrel/Squirrel.Mac) framework.

View file

@ -431,13 +431,13 @@ Returns whether the window is in kiosk mode.
Sets the pathname of the file the window represents, and the icon of the file Sets the pathname of the file the window represents, and the icon of the file
will show in window's title bar. will show in window's title bar.
__Note__: This API is available only on Mac OS X. __Note__: This API is available only on OS X.
### BrowserWindow.getRepresentedFilename() ### BrowserWindow.getRepresentedFilename()
Returns the pathname of the file the window represents. Returns the pathname of the file the window represents.
__Note__: This API is available only on Mac OS X. __Note__: This API is available only on OS X.
### BrowserWindow.setDocumentEdited(edited) ### BrowserWindow.setDocumentEdited(edited)
@ -446,13 +446,13 @@ __Note__: This API is available only on Mac OS X.
Specifies whether the windows document has been edited, and the icon in title Specifies whether the windows document has been edited, and the icon in title
bar will become grey when set to `true`. bar will become grey when set to `true`.
__Note__: This API is available only on Mac OS X. __Note__: This API is available only on OS X.
### BrowserWindow.IsDocumentEdited() ### BrowserWindow.IsDocumentEdited()
Whether the window's document has been edited. Whether the window's document has been edited.
__Note__: This API is available only on Mac OS X. __Note__: This API is available only on OS X.
### BrowserWindow.openDevTools() ### BrowserWindow.openDevTools()
@ -544,7 +544,7 @@ it will assume `app.getName().desktop`.
Shows pop-up dictionary that searches the selected word on the page. Shows pop-up dictionary that searches the selected word on the page.
__Note__: This API is available only on Mac OS X. __Note__: This API is available only on OS X.
### BrowserWindow.setAutoHideMenuBar(hide) ### BrowserWindow.setAutoHideMenuBar(hide)

View file

@ -2,7 +2,7 @@
## Prerequisites ## Prerequisites
* Mac OS X >= 10.8 * OS X >= 10.8
* [Xcode](https://developer.apple.com/technologies/tools/) >= 5.1 * [Xcode](https://developer.apple.com/technologies/tools/) >= 5.1
* [node.js](http://nodejs.org) (external). * [node.js](http://nodejs.org) (external).

View file

@ -5,7 +5,7 @@ as `app`, and put it under atom-shell's resources directory (on OS X it is
`Atom.app/Contents/Resources/`, and on Linux and Windows it is `resources/`), `Atom.app/Contents/Resources/`, and on Linux and Windows it is `resources/`),
like this: like this:
On Mac OS X: On OS X:
```text ```text
atom-shell/Atom.app/Contents/Resources/app/ atom-shell/Atom.app/Contents/Resources/app/
@ -37,7 +37,7 @@ To use an `asar` archive to replace the `app` folder, you need to rename the
archive to `app.asar`, and put it under atom-shell's resources directory like archive to `app.asar`, and put it under atom-shell's resources directory like
bellow, and atom-shell will then try read the archive and start from it. bellow, and atom-shell will then try read the archive and start from it.
On Mac OS X: On OS X:
```text ```text
atom-shell/Atom.app/Contents/Resources/ atom-shell/Atom.app/Contents/Resources/

View file

@ -141,7 +141,7 @@ On Linux:
$ ./atom-shell/atom your-app/ $ ./atom-shell/atom your-app/
``` ```
On Mac OS X: On OS X:
```bash ```bash
$ ./Atom.app/Contents/MacOS/Atom your-app/ $ ./Atom.app/Contents/MacOS/Atom your-app/