Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
moshfeu committed Jan 8, 2019
1 parent b25f58f commit ac2a506
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial/devtools-extension.md
Expand Up @@ -30,11 +30,11 @@ Using the [React Developer Tools][react-devtools] as example:
1. Pass the location of the extension to `BrowserWindow.addDevToolsExtension`
API, for the React Developer Tools, it is something like:
```javascript
const { join } = require('path');
const { homedir } = require('os');
const path = require('path');
const os = require('os');

BrowserWindow.addDevToolsExtension(
join(homedir(),'/Library/Application Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/0.15.0_0')
path.join(os.homedir(),'/Library/Application\Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/0.15.0_0')
);
```

Expand Down

0 comments on commit ac2a506

Please sign in to comment.