X Tutup
Skip to content

Commit ba2b8c8

Browse files
authored
docs: mention app ready event for DevTools Extension tutorial
1 parent 367f94a commit ba2b8c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/tutorial/devtools-extension.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ Using the [React Developer Tools][react-devtools] as example:
2929
* on macOS it is `~/Library/Application Support/Google/Chrome/Default/Extensions`.
3030
1. Pass the location of the extension to `BrowserWindow.addDevToolsExtension`
3131
API, for the React Developer Tools, it is something like:
32-
`~/Library/Application Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/0.14.10_0`
32+
`~/Library/Application Support/Google/Chrome/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/0.15.0_0`
33+
34+
**Note:** The `BrowserWindow.addDevToolsExtension` API cannot be called before the
35+
ready event of the app module is emitted.
3336

3437
The name of the extension is returned by `BrowserWindow.addDevToolsExtension`,
3538
and you can pass the name of the extension to the `BrowserWindow.removeDevToolsExtension`

0 commit comments

Comments
 (0)
X Tutup