Skip to content

Commit 26f24bb

Browse files
PierBoverArekSredzki
authored andcommitted
Fixed import and added link to the docs (ArekSredzki#72)
1 parent 2dc713a commit 26f24bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/update-osx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ This url requires different parameters to return a correct version: `version` an
99

1010
### Electron Example
1111

12-
For example with Electron's `auto-updater` module:
12+
For example with Electron's [`autoUpdater`](https://github.com/electron/electron/blob/master/docs/api/auto-updater.md) module:
1313

1414
```js
1515
var app = require('app');
1616
var os = require('os');
17-
var autoUpdater = require('auto-updater');
17+
var autoUpdater = require('electron').autoUpdater;
1818

1919
var platform = os.platform() + '_' + os.arch(); // usually returns darwin_64
2020
var version = app.getVersion();

0 commit comments

Comments
 (0)