Skip to content

Commit 768b79f

Browse files
authored
fix: the desktop icon is incorrect on macos (#604)
Co-authored-by: rick <[email protected]>
1 parent 4f7f5a0 commit 768b79f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
2.92 KB
Binary file not shown.

console/atest-desktop/forge.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const path = require('node:path');
2020

2121
module.exports = {
2222
packagerConfig: {
23-
icon: path.join(__dirname, 'api-testing'),
23+
icon: path.join(__dirname, 'api-testing.ico'),
2424
asar: true
2525
},
2626
rebuildConfig: {},
@@ -48,8 +48,7 @@ module.exports = {
4848
{
4949
name: '@electron-forge/maker-dmg',
5050
config: {
51-
format: 'ULFO',
52-
icon: path.join(__dirname, 'api-testing.png')
51+
icon: path.join(__dirname, 'api-testing.icns')
5352
}
5453
},
5554
{

0 commit comments

Comments
 (0)