electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

Windows exe file (.rdata) contains libs i dont even use

Open ssrdop opened this issue 5 months ago • 0 comments

  • Electron-Builder Version: 24.9.1
  • Node Version: 20.10.0
  • Electron Version: 28.1.2
  • Electron Type (current, beta, nightly): current
  • Target: windows

When i build my project for windows it generates some files and entry point - .exe file. If unzip exe file and read its content of .rdata file i see it contains a lot of stuff i dont even use, like "cryptopro", "Jscript" and etc. I dont use it in my application but my .exe file contains it. Can u tell why .exe file contains such files and is it possible to prevent adding this files to .exe file to .rdata?

Even if i use "electron start" project. Result is the same.

ssrdop avatar Jan 22 '24 19:01 ssrdop