From c485e7d25cdf2071d29b6660115581999856ef5e Mon Sep 17 00:00:00 2001 From: James Montalvo Date: Fri, 2 Jul 2021 07:38:13 -0500 Subject: [PATCH] Add required allowFileAccess property to docs Per electron/electron#23662 and electron/electron#25198 this is necessary to allow access to extensions via file:// Closes #161 Closes #162 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a1ccb86..fafaa31 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ const { default: installExtension, REACT_DEVELOPER_TOOLS } = require('electron-d const { app } = require('electron'); app.whenReady().then(() => { - installExtension(REDUX_DEVTOOLS) + installExtension(REDUX_DEVTOOLS, { loadExtensionOptions: { allowFileAccess: true } }) .then((name) => console.log(`Added Extension: ${name}`)) .catch((err) => console.log('An error occurred: ', err)); });