Skip to content

Commit 2696de4

Browse files
💄 style: Update tray icon (#8530)
Co-authored-by: canisminor1990 <i@canisminor.cc>
1 parent 9fb4b0d commit 2696de4

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

apps/desktop/resources/tray-dark.png

-89 Bytes
Loading

apps/desktop/resources/tray-light.png

-225 Bytes
Loading

apps/desktop/src/main/core/TrayManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export default class TrayManager {
5858
return this.retrieveOrInitialize({
5959
iconPath: isMac
6060
? nativeTheme.shouldUseDarkColors
61-
? 'tray-light.png'
62-
: 'tray-dark.png'
61+
? 'tray-dark.png'
62+
: 'tray-light.png'
6363
: 'tray.png',
6464
identifier: 'main', // 使用应用图标,需要确保资源目录中有此文件
6565
tooltip: name, // 可以使用 app.getName() 或本地化字符串

0 commit comments

Comments
 (0)