We are able to ran the Electron desktop application by using electron-builder along with dmg on X64.If we want to run same application on apple silicon(ARM64), We installed following dependancies(X64)
1 Xcode 12 and upgrade Mac to Bix sur.
2 "npm install [email protected]"
3 node-gyp(7.1.2)
but, found below errors:
"ERROR TypeError: Cannot read property 'require' of null"
Also while building and packaging the application we want to add extraFiles. Kindly suggest if any solution.
Also read about electron-packager,but How can we add extra files using the same.