JS脚本:打牌一条龙修改了通知内容,描述更加准确 (#1165)
* Update manifest.json * Update main.js * Update main.js
This commit is contained in:
@@ -148,12 +148,12 @@ async function isTaskRefreshed(filePath, options = {}) {
|
||||
}
|
||||
|
||||
if (shouldRefresh) {
|
||||
notification.send(`任务已经刷新,执行脚本`);
|
||||
notification.send(`七圣召唤七日历练周期已经刷新,执行脚本`);
|
||||
|
||||
|
||||
return true;
|
||||
} else {
|
||||
notification.send(`任务未刷新,跳过脚本`);
|
||||
notification.send(`七圣召唤七日历练未刷新,冷却还有${((nowTime - lastTime)/3600).toFixed(1)}小时`);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "打牌一条龙",
|
||||
"version": "1.9.4",
|
||||
"version": "1.9.5",
|
||||
"description": "已添加 CD 管理,执行完后会检测是否全部挑战成功,之后会记录本次时间进入CD,如果想要重置请前往assets/weekly.txt中删除内容",
|
||||
"authors": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user