|
@@ -21,7 +21,7 @@ export const initTray = () => {
|
|
icon7: handlePath("./icon-7.png"),
|
|
icon7: handlePath("./icon-7.png"),
|
|
icon8: handlePath("./icon-8.png"),
|
|
icon8: handlePath("./icon-8.png"),
|
|
icon9: handlePath("./icon-9.png"),
|
|
icon9: handlePath("./icon-9.png"),
|
|
- icon9plus: handlePath("./icon-9plus.png"),
|
|
|
|
|
|
+ // icon9plus: handlePath("./icon-9plus.png"),
|
|
};
|
|
};
|
|
let appIcon = new Tray(ICONS.default);
|
|
let appIcon = new Tray(ICONS.default);
|
|
const isFocusOpenWin: number = handeGet("isFocusOpenWin");
|
|
const isFocusOpenWin: number = handeGet("isFocusOpenWin");
|
|
@@ -71,7 +71,7 @@ export const initTray = () => {
|
|
if (msgCount <= 9) {
|
|
if (msgCount <= 9) {
|
|
appIcon.setImage(ICONS[`icon${msgCount}`]);
|
|
appIcon.setImage(ICONS[`icon${msgCount}`]);
|
|
} else {
|
|
} else {
|
|
- appIcon.setImage(ICONS[`icon9plus`]);
|
|
|
|
|
|
+ appIcon.setImage(ICONS[`icon9`]);
|
|
}
|
|
}
|
|
appIcon.setToolTip(`菁苗健康-未读消息数量(${msgCount})`);
|
|
appIcon.setToolTip(`菁苗健康-未读消息数量(${msgCount})`);
|
|
});
|
|
});
|