bulidelectron index.html
package.json
"abc": "npm run build && electron build/electron.js",
I copied an electron.js and a packpage.json, in the dist folder
change the path of index.html in electron.js to the path of index in the current folder, and add
"main": "electron.js",
"scripts": {
packpage.json
"start": "electron ."
}
this is the only way to use it. Can I use an electron.js and a package.json