提交 1579e677 authored 作者: 蔡芬's avatar 蔡芬

1

上级 c7cda308
{
"name": "feidao",
"version": "0.1.7",
"version": "0.1.8",
"private": true,
"scripts": {
"serve": "vue-cli-service serve --mode web",
......
......@@ -30,6 +30,7 @@ class AppEvents {
if (process.platform === 'darwin') {
return
}
app.quit();
// 设置app托盘菜单 / Set the app tray
// appManager.tray.setToolTip('窗口被关闭了!\nWindow is closed!')
// appManager.tray.displayBalloon({
......@@ -38,6 +39,15 @@ class AppEvents {
// noSound: true
// })
})
// Quit when all windows are closed.
// app.on("window-all-closed", () => {
// this.windowManager.mainWindow.win = null
// // On macOS it is common for applications and their menu bar
// // to stay active until the user quits explicitly with Cmd + Q
// if (process.platform !== "darwin") {
// app.quit();
// }
// });
}
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论