From 26c56b13a31c198a4af00a648e1a85ba7bf7a4c1 Mon Sep 17 00:00:00 2001 From: Quinten Kock Date: Thu, 13 Nov 2025 23:48:00 +0100 Subject: [PATCH] fix icon? --- forge.config.ts | 2 +- src/main/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forge.config.ts b/forge.config.ts index e8ebff9..baddb4e 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -12,7 +12,7 @@ const config: ForgeConfig = { packagerConfig: { asar: true, icon: "res/icon", - extraResource: "res", + extraResource: "res/icon.png", }, rebuildConfig: {}, makers: [ diff --git a/src/main/main.ts b/src/main/main.ts index 67f6f5f..fc056e7 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -24,7 +24,7 @@ const createWindow = () => { webPreferences: { preload: path.join(__dirname, "preload.js"), }, - icon: "./res/icon.png", + icon: "./resources/icon.png", }); // and load the index.html of the app.