Closed Libadoxon closed 1 month ago
Fixed, electronDist
wants a path to the directory where the electron ZIP-Archive is, not a path to ZIP-Archive. Eg
/home/foo/project/electron/electron-v29.3.3-linux-x64.zip
<-- not valid
/home/foo/project/electron/
<-- valid
I have set the
electronDist
key in thebuild
section of mypackage.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 theelectron
zip archive. So there seems to be a problem with the extracting