fix: the desktop icon is incorrect on macos (#604)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
This commit is contained in:
parent
4f7f5a085a
commit
768b79f0c3
Binary file not shown.
|
@ -20,7 +20,7 @@ const path = require('node:path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
packagerConfig: {
|
packagerConfig: {
|
||||||
icon: path.join(__dirname, 'api-testing'),
|
icon: path.join(__dirname, 'api-testing.ico'),
|
||||||
asar: true
|
asar: true
|
||||||
},
|
},
|
||||||
rebuildConfig: {},
|
rebuildConfig: {},
|
||||||
|
@ -48,8 +48,7 @@ module.exports = {
|
||||||
{
|
{
|
||||||
name: '@electron-forge/maker-dmg',
|
name: '@electron-forge/maker-dmg',
|
||||||
config: {
|
config: {
|
||||||
format: 'ULFO',
|
icon: path.join(__dirname, 'api-testing.icns')
|
||||||
icon: path.join(__dirname, 'api-testing.png')
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue