Bundle binary file with my electron application


I am working on a project, and I want to include my executable file that was written in golang with my electron application. The Error that I get is

exec error: { Error: Command failed: /home/../resources/app.asar/matrix -rotate

it can’t find the file.

I am using electron-packager, am I missing something? Does someone has already experience with bundling binary files with electron?