diff --git a/src/js/float.js b/src/js/float.js index fb18ad8..0b70692 100644 --- a/src/js/float.js +++ b/src/js/float.js @@ -29,6 +29,11 @@ Anot({ var time = +Anot.ss('last_update') || 0 var now = Date.now() + // 有触发小窗口显示时, 更新通知提醒 + if (Anot.ls('notify') === '1') { + app.dispatch('notify') + } + this.reloadGays() setTimeout(() => { // 如果离上次更新超过15分钟, 则自动更新 diff --git a/src/main.js b/src/main.js index 6f1763f..40fd494 100644 --- a/src/main.js +++ b/src/main.js @@ -130,7 +130,7 @@ ipcMain.on('app', (ev, conn) => { var t1 = Date.now() var t2 = new Date() t2.setHours(14) - t2.setMinutes(0) + t2.setMinutes(30) t2.setSeconds(0) if (t2.getTime() - t1 > 0) {