geez.. finally!
the trick for electron-builder as setup in patchbay-builder (where the source is inside the app/ folder), is to add a fileSet like this to the build.extraFiles
:
"extraFiles": [
{
"from": "app/node_modules/forked-systray/systrayhelper",
"to": "systrayhelper"
}
],
relevant links:
- https://electronjs.org/docs/tutorial/application-packaging
- https://www.electron.build/configuration/contents#extrafiles
ps: this changes also seems to remove the fallback to js problem.