Here is my package json file cdde.
"build": {
"linux": {
"target": "deb",
"category": "Office",
"icon": "./src/assets/icons/256x256.png"
},
}
And here is my main.js/electron.js code.
function createWindow() {
const win = new BrowserWindow({
width: 1200,
height: 800,
icon: path.join(__dirname, '../src/assets/icons/256x256.png'),
webPreferences: {
nodeIntegration: true,
webSecurity: false,
},
});
}
I have tried a lot of things but nothing is working.
New contributor
Zech arslan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.