mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-06-14 11:31:45 +08:00
name
This commit is contained in:
@@ -23,7 +23,7 @@ exports.setup = function () {
|
||||
let iconPath = path.join(app.getAppPath(), '/asset/images/tray_logo.png');
|
||||
APP_TRAY = new Tray(iconPath);
|
||||
const contextMenu = Menu.buildFromTemplate(trayMenuTemplate);
|
||||
APP_TRAY.setToolTip(pkg.softName);
|
||||
APP_TRAY.setToolTip(pkg.name);
|
||||
APP_TRAY.setContextMenu(contextMenu);
|
||||
APP_TRAY.on('click', function(){
|
||||
if (MAIN_WINDOW.isVisible()) {
|
||||
|
||||
Reference in New Issue
Block a user