electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.59k stars 1.73k forks source link

JavaScript Error - '.node' Not Found in ASAR #8034

Open MrTob opened 7 months ago

MrTob commented 7 months ago

I have an Angular webapp which I would like to build as an Electron app. A self-written .node library is integrated into the Electron app. When I now want to build the Electron app, I get the error that the '.node' file was not found because it is not in resources/app.asar. How can I put the file into the directory?

chrome_y5SxfTeZBh

mmaietta commented 7 months ago

You should be able to add it via files option in electron-builder configuration

github-actions[bot] commented 1 month ago

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.