提交 a0a3c5cb 编写于 作者: 璃白.'s avatar 璃白. 🌻

feat:优化版本

上级 c4f4c410
{ {
"name": "Quicker", "name": "Quicker",
"version": "0.0.4", "version": "0.0.5",
"author": "libai", "author": "libai",
"description": "An electron-vue project", "description": "An electron-vue project",
"license": null, "license": null,
......
...@@ -15,7 +15,8 @@ module.exports = () => { ...@@ -15,7 +15,8 @@ module.exports = () => {
ipcMain.on("token", (e, info) => { ipcMain.on("token", (e, info) => {
console.log("on token"); console.log("on token");
const loginNote = createNote("登录成功"); const loginNote = createNote("您的文章收到2条新回复\n点击查看");
// const loginNote = createNote("登录成功");
session.defaultSession.cookies session.defaultSession.cookies
.get({ .get({
......
...@@ -22,7 +22,7 @@ module.exports = () => { ...@@ -22,7 +22,7 @@ module.exports = () => {
frame: false, frame: false,
// backgroundColor: "#fff", // backgroundColor: "#fff",
title: "拉比克", title: "拉比克",
show: true, show: false,
skipTaskbar: true, skipTaskbar: true,
webPreferences: { webPreferences: {
webSecurity: false, webSecurity: false,
...@@ -51,13 +51,13 @@ module.exports = () => { ...@@ -51,13 +51,13 @@ module.exports = () => {
} }
); );
// win.once("ready-to-show", () => win.show()); win.once("ready-to-show", () => win.show());
win.on("closed", () => { win.on("closed", () => {
win = undefined; win = undefined;
}); });
win.on("blur", () => { win.on("blur", () => {
const childWindows = win.getChildWindows(); const childWindows = win.getChildWindows();
// if (!childWindows.length) win.hide(); if (!childWindows.length) win.hide();
}); });
}; };
......
...@@ -33,15 +33,15 @@ ...@@ -33,15 +33,15 @@
.top .img { .top .img {
width: 32px; width: 32px;
height: 32px; height: 32px;
border-radius: 100%; border-radius: 4px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background: #314659; background: #314659;
} }
.top .img img { .top .img img {
width: 26px; width: 32px;
height: 26px; height: 32px;
} }
.top .text { .top .text {
color: #999; color: #999;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册