Open in full screen and build configuration done - Build failed

This commit is contained in:
LAHAY Damien 2025-07-03 17:18:58 +02:00
parent 2590675d9c
commit 8e006526b3
3 changed files with 4184 additions and 7 deletions

View File

@ -15,6 +15,8 @@ const createWindow = () => {
} }
}); });
win.maximize();
win.loadFile('index.html'); win.loadFile('index.html');
win.webContents.openDevTools(); win.webContents.openDevTools();
}; };

4166
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,11 +5,32 @@
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
"start": "electron .", "start": "electron .",
"build": "electron-builder",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "Damien Lahay", "author": "Damien Lahay",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"electron": "^37.1.0" "electron": "^37.1.0",
"electron-builder": "^26.0.12"
},
"build": {
"appId": "com.loreal.machine-data-app",
"productName": "L'Oréal Machine Desc App",
"files": [
"main.js",
"preload.js",
"renderer.js",
"index.html",
"node_modules/"
],
"directories": {
"output": "dist"
},
"win": {
"target": "nsis",
"icon": "build/icon.ico"
}
} }
} }