electron-builder
electron-builder copied to clipboard
Package node that depends on dll files
- Electron-Builder Version: 24.9.1
- Node Version: 20.11.0
- Electron Version: 28.2.1
- Electron Type (current, beta, nightly): current
- Target: windows nsis x64
Hello I am trying to build a native node module that depends on several .dll files (node-canvas).
I don't know how to build it with asar enabled. It works if you disable asar, but when it's enabled it looks like the node file gets copied to C:/users/name/AppData/Local/Temp without any of the dll files and thus it doesn't work.
How can I copy the dll files to the local/temp folder on installation?
Can you try manually specifying **/*.dll in your files configuration?
Can you try manually specifying
**/*.dllin yourfilesconfiguration?
Nope it didn't work, I already included all the files in dist with dist/**/* so don't think that's the issue.
Can you share a minimum reproducible repo/gist of the issue? I can then replicate from there and debug
Try building this project: https://github.com/Tenpi/electron-builder-dll
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity.