fix: the desktop icon is incorrect on macos (#604)

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
This commit is contained in:
Rick 2025-01-26 10:18:26 +08:00 committed by GitHub
parent 4f7f5a085a
commit 768b79f0c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

Binary file not shown.

View File

@ -20,7 +20,7 @@ const path = require('node:path');
module.exports = {
packagerConfig: {
icon: path.join(__dirname, 'api-testing'),
icon: path.join(__dirname, 'api-testing.ico'),
asar: true
},
rebuildConfig: {},
@ -48,8 +48,7 @@ module.exports = {
{
name: '@electron-forge/maker-dmg',
config: {
format: 'ULFO',
icon: path.join(__dirname, 'api-testing.png')
icon: path.join(__dirname, 'api-testing.icns')
}
},
{