File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 4343const installExtensions = async ( ) => {
4444 const installer = require ( 'electron-devtools-installer' ) ;
4545 const forceDownload = ! ! process . env . UPGRADE_EXTENSIONS ;
46- const extensions = [ 'REACT_DEVELOPER_TOOLS' ] ;
47-
48- return installer
49- . default (
50- extensions . map ( ( name ) => installer [ name ] ) ,
51- forceDownload
52- )
53- . catch ( console . log ) ;
46+ const extensions = [
47+ 'fmkadmapgofadopljbjfkapdkoienihi' , // 'REACT_DEVELOPER_TOOLS',
48+ 'pfgnfdagidkfgccljigdamigbcnndkod' , // mobx-devtool
49+ ] ;
50+
51+ return installer . default ( extensions , forceDownload ) . catch ( console . log ) ;
5452} ;
5553
5654const createWindow = async ( ) => {
5755 if (
5856 process . env . NODE_ENV === 'development' ||
5957 process . env . DEBUG_PROD === 'true'
6058 ) {
61- await installExtensions ( ) ;
59+ // Doesnt work
60+ // await installExtensions();
6261 }
6362
6463 const RESOURCES_PATH = app . isPackaged
You can’t perform that action at this time.
0 commit comments