mirror of
https://github.com/electron/electron.git
synced 2026-01-26 15:58:07 -05:00
@@ -1,6 +1,6 @@
|
||||
# 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
|
||||
[Squirrel.Mac](https://github.com/Squirrel/Squirrel.Mac) framework.
|
||||
|
||||
@@ -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
|
||||
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()
|
||||
|
||||
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)
|
||||
|
||||
@@ -446,13 +446,13 @@ __Note__: This API is available only on Mac OS X.
|
||||
Specifies whether the window’s document has been edited, and the icon in title
|
||||
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()
|
||||
|
||||
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()
|
||||
|
||||
@@ -544,7 +544,7 @@ it will assume `app.getName().desktop`.
|
||||
|
||||
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)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Prerequisites
|
||||
|
||||
* Mac OS X >= 10.8
|
||||
* OS X >= 10.8
|
||||
* [Xcode](https://developer.apple.com/technologies/tools/) >= 5.1
|
||||
* [node.js](http://nodejs.org) (external).
|
||||
|
||||
|
||||
@@ -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/`),
|
||||
like this:
|
||||
|
||||
On Mac OS X:
|
||||
On OS X:
|
||||
|
||||
```text
|
||||
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
|
||||
bellow, and atom-shell will then try read the archive and start from it.
|
||||
|
||||
On Mac OS X:
|
||||
On OS X:
|
||||
|
||||
```text
|
||||
atom-shell/Atom.app/Contents/Resources/
|
||||
|
||||
@@ -141,7 +141,7 @@ On Linux:
|
||||
$ ./atom-shell/atom your-app/
|
||||
```
|
||||
|
||||
On Mac OS X:
|
||||
On OS X:
|
||||
|
||||
```bash
|
||||
$ ./Atom.app/Contents/MacOS/Atom your-app/
|
||||
|
||||
Reference in New Issue
Block a user