yangjie #37

Merged
yangqiang merged 8 commits from yangjie into master 2024-11-26 10:15:06 +08:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit 39598fc5fe - Show all commits

View File

@ -83,6 +83,7 @@ function createTray() {
// icon: iconPath,
},
]);
tray.setToolTip(updateJs.getTitle(env));
tray.setContextMenu(contextMenu);
tray.on('click', () => {
mainWindow.webContents.send('isOpenWindows');

View File

@ -6,5 +6,13 @@ module.exports = {
default:
return 'https://meeting-api.23544.com/meeting/update'
}
},
getTitle(env) {
switch (env) {
case 'xy':
return '湖北襄阳四中教研平台'
default:
return '智汇享'
}
}
}