File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,20 @@ const installExtensions = async () => {
4444 const installer = require ( 'electron-devtools-installer' ) ;
4545 const forceDownload = ! ! process . env . UPGRADE_EXTENSIONS ;
4646 const extensions = [
47- 'fmkadmapgofadopljbjfkapdkoienihi' , // 'REACT_DEVELOPER_TOOLS',
47+ // 'REACT_DEVELOPER_TOOLS',
48+ 'fmkadmapgofadopljbjfkapdkoienihi' ,
4849 'pfgnfdagidkfgccljigdamigbcnndkod' , // mobx-devtool
4950 ] ;
5051
51- return installer . default ( extensions , forceDownload ) . catch ( console . log ) ;
52+ return installer
53+ . default (
54+ extensions . map ( ( name ) => installer [ name ] ) ,
55+ {
56+ forceDownload,
57+ loadExtensionOptions : { allowFileAccess : true } ,
58+ }
59+ )
60+ . catch ( console . log ) ;
5261} ;
5362
5463const createWindow = async ( ) => {
You can’t perform that action at this time.
0 commit comments