From 9cac464e2ce748af1671507ef3afbe590a26a4a4 Mon Sep 17 00:00:00 2001 From: alexa Date: Sat, 22 Jun 2024 23:42:06 +0200 Subject: [PATCH] add icon to electron itself --- src/main.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.mjs b/src/main.mjs index 19325b7..f8654cb 100644 --- a/src/main.mjs +++ b/src/main.mjs @@ -66,7 +66,8 @@ function createWindow () { autoHideMenuBar: true, webPreferences: { nodeIntegration: true, - } + }, + icon: 'src/ui/assets/images/icon_1x.png', }); win.loadFile('src/ui/index.html').then(r => {