I am developing an electron application where I am using external .exe files. In development mode application works fine. But when I package the application, it is unable to find those .exe files.
How to include .exe files in packaged application. I am using electron-builder for packaging.
Below is my configuration,
"build": {
"appId": "com.f.quickstart",
"files": [
"app/build/**/*",
"app/build/**/*.exe",
"main.js",
"mainIPC.js",
"src/**/*",
"dist/**/*",
"node_modules/**/*",
"package.json"
],
"win": {
"target": "portable",
"signAndEditExecutable": false
},
"linux": {
"target": "AppImage"
},
"mac": {
"target": "zip"
}
}
Looking for help.
Thanks