diff --git a/package.json b/package.json index f8fb90e12a4c059b74b8e313b8e81232ef27f3f8..bd29450f29410b4162cec652251a36873a1d333a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Quicker", - "version": "0.0.4", + "version": "0.0.5", "author": "libai", "description": "An electron-vue project", "license": null, diff --git a/src/main/browsers/login.js b/src/main/browsers/login.js index 78702d612265debd6715b6420d91c344fec58d9e..4ec0d8ae63daeb872a148171394917993d170671 100755 --- a/src/main/browsers/login.js +++ b/src/main/browsers/login.js @@ -15,7 +15,8 @@ module.exports = () => { ipcMain.on("token", (e, info) => { console.log("on token"); - const loginNote = createNote("登录成功"); + const loginNote = createNote("您的文章收到2条新回复\n点击查看"); + // const loginNote = createNote("登录成功"); session.defaultSession.cookies .get({ diff --git a/src/main/browsers/main.js b/src/main/browsers/main.js index 7271ce918a088b0d465d14a6ae935a9af37d50c2..e33fd57778dad2eb713b6fe6c8ce87e0350e4748 100755 --- a/src/main/browsers/main.js +++ b/src/main/browsers/main.js @@ -22,7 +22,7 @@ module.exports = () => { frame: false, // backgroundColor: "#fff", title: "拉比克", - show: true, + show: false, skipTaskbar: true, webPreferences: { webSecurity: false, @@ -51,13 +51,13 @@ module.exports = () => { } ); - // win.once("ready-to-show", () => win.show()); + win.once("ready-to-show", () => win.show()); win.on("closed", () => { win = undefined; }); win.on("blur", () => { const childWindows = win.getChildWindows(); - // if (!childWindows.length) win.hide(); + if (!childWindows.length) win.hide(); }); }; diff --git a/static/plugins/superPanel/assets/logo.png b/static/plugins/superPanel/assets/logo.png index 65efaa3d8b9aca03a074eb439439d13a13496798..41f5f59454a36f28a45244c783474f3df5f4c06e 100755 Binary files a/static/plugins/superPanel/assets/logo.png and b/static/plugins/superPanel/assets/logo.png differ diff --git a/static/plugins/superPanel/index.html b/static/plugins/superPanel/index.html index 3643071b66f8d5661db68e753bd4e1821d4ea717..fd48fe8dda812a6c7ec4640b2cbd9777a8aee7f8 100755 --- a/static/plugins/superPanel/index.html +++ b/static/plugins/superPanel/index.html @@ -33,15 +33,15 @@ .top .img { width: 32px; height: 32px; - border-radius: 100%; + border-radius: 4px; display: flex; align-items: center; justify-content: center; background: #314659; } .top .img img { - width: 26px; - height: 26px; + width: 32px; + height: 32px; } .top .text { color: #999;