From 6583480dc8a03860c99ba0d715b36161a98a2060 Mon Sep 17 00:00:00 2001 From: Jason Cochard Date: Wed, 13 Aug 2025 08:45:57 -0700 Subject: [PATCH] fix(build): feed electronforge the icon explicitly for linux (#4045) Signed-off-by: Jason Cochard --- ui/desktop/forge.config.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ui/desktop/forge.config.ts b/ui/desktop/forge.config.ts index 0c4bfefd13..156fc183b5 100644 --- a/ui/desktop/forge.config.ts +++ b/ui/desktop/forge.config.ts @@ -58,7 +58,7 @@ module.exports = { config: { arch: process.env.ELECTRON_ARCH === 'x64' ? ['x64'] : ['arm64'], options: { - icon: process.platform === 'linux' ? 'src/images/icon.png' : 'src/images/icon.ico', + icon: 'src/images/icon.ico', }, }, }, @@ -70,7 +70,10 @@ module.exports = { maintainer: 'Block, Inc.', homepage: 'https://block.github.io/goose/', categories: ['Development'], - mimeType: ['x-scheme-handler/goose'] + mimeType: ['x-scheme-handler/goose'], + options: { + icon: 'src/images/icon.png' + } }, }, { @@ -80,7 +83,10 @@ module.exports = { bin: 'Goose', maintainer: 'Block, Inc.', homepage: 'https://block.github.io/goose/', - categories: ['Development'] + categories: ['Development'], + options: { + icon: 'src/images/icon.png' + } }, }, ],