Running Electron app created from Framwork7 CLI shows inspector

When running Electron apps created using the npm run build-prod-electron command in both Windows 10 and Ubuntu 19.10 causes the inspector window to appear as soon as the app is ran. Is there a configuration or flag that I need to set so that it doesn’t do this for the production version of my app?

This command doesn’t build “release” version of electron app. To do so, you need to run cordova build electron --release, and in this case there won’t be devtools

@nolimits4web it worked when I run your command from the cordova sub folder, thanks! However, do you know why it doesn’t work when using the npm command for build-prod-electron?
Btw, I also confirmed that the original issue also happens on MacOS 10.13.2