Sample Hello World Electron app crashes when enabled with Hardened Runtime for Notarizing the MAC-App

  1. Create a Sample Hello World Electron App
    Downloaded from: github->electron/electron-quick-start

  2. Package.json includes:
    “devDependencies”: {
    “electron”: “^5.0.8”,
    “electron-packager”: “^14.0.2”

  3. Codesign the contents of the project

  4. Include and enable the Hardened Runtime in the codesign command for App file with entitlement plist file.

  5. Try to launch the app file.
    Observation: Electron app seen crashed

com.apple.security.cs.allow-unsigned-executable-memory com.apple.security.network.client com.apple.security.files.user-selected.read-write com.apple.security.cs.allow-jit com.apple.security.cs.allow-dyld-environment-variables

Please drop your comments if you have seen the above issue and able to resolve