提交 c52659a3 编写于 作者: 郭维嘉

fix

上级 63545a72
......@@ -78,12 +78,6 @@ function createDock(window) {
label: "退出"
}
]);
// appIcon.on("click", () => {
// appIcon.popUpContextMenu(contextMenu);
// });
// appIcon.setContextMenu(contextMenu);
// resolve(appIcon);
app.dock.setMenu(dockMenu);
app.dock.setIcon(appIcon);
......
......@@ -43,10 +43,9 @@ class initApp {
if (commonConst.production() && !app.isInApplicationsFolder()) {
app.moveToApplicationsFolder();
} else {
// app.dock.hide()
app.dock.hide()
}
} else {
app.moveToApplicationsFolder();
app.disableHardwareAcceleration();
}
}
......@@ -55,7 +54,7 @@ class initApp {
const readyFunction = () => {
this.createWindow();
createTray(main.getWindow());
createDock();
// createDock();
autoUpdate();
};
if (!app.isReady()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册