fix(build): feed electronforge the icon explicitly for linux (#4045)

Signed-off-by: Jason Cochard <cochard@protonmail.com>
This commit is contained in:
Jason Cochard
2025-08-13 08:45:57 -07:00
committed by GitHub
parent 5f5f6eb915
commit 6583480dc8
+9 -3
View File
@@ -58,7 +58,7 @@ module.exports = {
config: { config: {
arch: process.env.ELECTRON_ARCH === 'x64' ? ['x64'] : ['arm64'], arch: process.env.ELECTRON_ARCH === 'x64' ? ['x64'] : ['arm64'],
options: { 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.', maintainer: 'Block, Inc.',
homepage: 'https://block.github.io/goose/', homepage: 'https://block.github.io/goose/',
categories: ['Development'], 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', bin: 'Goose',
maintainer: 'Block, Inc.', maintainer: 'Block, Inc.',
homepage: 'https://block.github.io/goose/', homepage: 'https://block.github.io/goose/',
categories: ['Development'] categories: ['Development'],
options: {
icon: 'src/images/icon.png'
}
}, },
}, },
], ],