diff --git a/src/main/devtools.ts b/src/main/devtools.ts index 44a788c6c1..f268aa5942 100644 --- a/src/main/devtools.ts +++ b/src/main/devtools.ts @@ -15,7 +15,9 @@ export async function setupDevTools(): Promise { } = require('electron-devtools-installer'); try { - const react = await installExtension(REACT_DEVELOPER_TOOLS); + const react = await installExtension(REACT_DEVELOPER_TOOLS, { + loadExtensionOptions: { allowFileAccess: true }, + }); console.log(`installDevTools: Installed ${react}`); } catch (error) { console.warn(`installDevTools: Error occurred:`, error);