|
@@ -14,16 +14,16 @@ export const initTray = () => {
|
|
|
};
|
|
|
const ICONS = {
|
|
|
default: ICON,
|
|
|
- icon1: handlePath("./icon-1.png"),
|
|
|
- icon2: handlePath("./icon-2.png"),
|
|
|
- icon3: handlePath("./icon-3.png"),
|
|
|
- icon4: handlePath("./icon-4.png"),
|
|
|
- icon5: handlePath("./icon-5.png"),
|
|
|
- icon6: handlePath("./icon-6.png"),
|
|
|
- icon7: handlePath("./icon-7.png"),
|
|
|
- icon8: handlePath("./icon-8.png"),
|
|
|
- icon9: handlePath("./icon-9.png"),
|
|
|
- icon9plus: handlePath("./icon-9plus.png"),
|
|
|
+ icon1: ICON,
|
|
|
+ icon2: ICON,
|
|
|
+ icon3: ICON,
|
|
|
+ icon4: ICON,
|
|
|
+ icon5: ICON,
|
|
|
+ icon6: ICON,
|
|
|
+ icon7: ICON,
|
|
|
+ icon8: ICON,
|
|
|
+ icon9: ICON,
|
|
|
+ icon9plus: ICON,
|
|
|
};
|
|
|
let appIcon = new Tray(ICONS.default);
|
|
|
const isFocusOpenWin: number = handeGet("isFocusOpenWin");
|
|
@@ -51,7 +51,7 @@ export const initTray = () => {
|
|
|
},
|
|
|
},
|
|
|
]);
|
|
|
- // appIcon.setToolTip("菁苗健康");
|
|
|
+ // appIcon.setToolTip("九海健康");
|
|
|
appIcon.setContextMenu(contextMenu);
|
|
|
|
|
|
// 服务端地址
|
|
@@ -82,7 +82,7 @@ export const initTray = () => {
|
|
|
appIcon.setImage(ICONS[`icon9plus`]);
|
|
|
}
|
|
|
appIcon.setToolTip(`未读消息数量(${msgCount})`);
|
|
|
- // appIcon.setToolTip(`菁苗健康-未读消息数量(${msgCount})`);
|
|
|
+ // appIcon.setToolTip(`九海健康-未读消息数量(${msgCount})`);
|
|
|
|
|
|
if (userObj.msg_type !== 2) {
|
|
|
// 向渲染进程发送消息
|