This commit is contained in:
Mylloon 2023-08-01 10:18:08 +02:00
parent 5fc1832fa6
commit 3838940f68
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 4 additions and 1 deletions

BIN
image/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View file

@ -30,7 +30,9 @@
}, },
"config": { "config": {
"forge": { "forge": {
"packagerConfig": {}, "packagerConfig": {
"icon": "./image/icon.ico"
},
"makers": [ "makers": [
{ {
"name": "@electron-forge/maker-zip", "name": "@electron-forge/maker-zip",

View file

@ -19,6 +19,7 @@ const createWindow = () => {
const win = new BrowserWindow({ const win = new BrowserWindow({
width: 1280, width: 1280,
height: 720, height: 720,
icon: "./image/icon.ico",
webPreferences: { webPreferences: {
preload: path.join(__dirname, "preload.js"), preload: path.join(__dirname, "preload.js"),
}, },