Skip to content

Commit

Permalink
fix: the desktop icon is incorrect on macos (#604)
Browse files Browse the repository at this point in the history
Co-authored-by: rick <[email protected]>
  • Loading branch information
LinuxSuRen and LinuxSuRen authored Jan 26, 2025
1 parent 4f7f5a0 commit 768b79f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file added console/atest-desktop/api-testing.icns
Binary file not shown.
5 changes: 2 additions & 3 deletions console/atest-desktop/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
Expand Down Expand Up @@ -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')
}
},
{
Expand Down

0 comments on commit 768b79f

Please sign in to comment.