fix(build): feed electronforge the icon explicitly for linux (#4045)
Signed-off-by: Jason Cochard <cochard@protonmail.com>
This commit is contained in:
@@ -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'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user