electron-builder
electron-builder copied to clipboard
Can't use custom version of Electron
- Electron-Builder Version: 24.13.3
- Node Version: 20.12.2
- Electron Version: 29.3.3
- Electron Type (current, beta, nightly): current
- Target: linux
I have set the electronDist key in the build section of my package.json but when trying to build it throws this error: ENOENT: no such file or directory, rename '/path/to/my-project/dist/linux-unpacked/electron' -> '/path/to/my-project/dist/linux-unpacked/my-project-name'
There is only a directory called resources inside of /path/to/my-project/dist/linux-unpacked
When trying to build the package without setting the electronDist key, /path/to/my-project/dist/linux-unpacked gets populated with the extracted contents the electron zip archive. So there seems to be a problem with the extracting