Electron-builder: Is it safe to delete/exclude “inspector” folder from Electron 5 package?

Created on 2 Jul 2019  Â·  5Comments  Â·  Source: electron-userland/electron-builder

  • Version: 20.39.0
  • Target: 32-bit Windows

I’ve recently updated Electron from v4 to v5 and found a new ~9MB folder inspector containing 188 files in the installed Electron package at node_modules/electron/dist/resources/inspector or ${packagedApp}/resources/inspector after packaging with electron-builder. What is this for?

There seems to be no consequences for deleting this folder.

Is it safe to delete/exclude it from my packaged app?

Package used: [email protected] for 32-bit Windows

Thanks in advance!

question

All 5 comments

I think, electron-builder will add special option to remove this folder (obviously, you will be not able to use devtools from chrome anymore).

@develar actually, I can still use devtools perfectly after removing it which is why I was so confused.

Then better to ask in electron github issue tracker, because builder just builds :)

Alright I asked here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JohnWeisz picture JohnWeisz  Â·  3Comments

xingoxu picture xingoxu  Â·  3Comments

popod picture popod  Â·  3Comments

NPellet picture NPellet  Â·  3Comments

mstralka picture mstralka  Â·  3Comments