mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-07-22 21:13:47 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92fab1774d | ||
|
|
addb9c65fe | ||
|
|
b86e756520 | ||
|
|
f3af8dff17 | ||
|
|
5d30178bd3 | ||
|
|
0c610701cb | ||
|
|
6dfee7efb8 |
@@ -31,4 +31,4 @@ jobs:
|
||||
with:
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKERHUB_REPO }}
|
||||
platforms: "linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x"
|
||||
platforms: "linux/amd64,linux/arm64"
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
<!-- markdownlint-disable MD036 MD024-->
|
||||
# CHANGELOG
|
||||
## 主要变化(2.8.13)
|
||||
* addb9c6 fix: ghproxy.com->mirror.ghproxy.com (#333)
|
||||
* b86e756 fix: at错位
|
||||
|
||||
_如果之前版本小于上一版本,请查看[CHANGELOG](https://github.com/shanmiteko/LotteryAutoScript/blob/main/CHANGELOG.md)变更说明_
|
||||
|
||||
## 主要变化(2.8.12)
|
||||
* 5d30178 ci: docker构建
|
||||
* 0c61070 fix: 评论并转发 (#259)
|
||||
* 6dfee7e fix: 出现帐号未登录错误时自动跳转下一个帐号
|
||||
|
||||
_如果之前版本小于上一版本,请查看[CHANGELOG](https://github.com/shanmiteko/LotteryAutoScript/blob/main/CHANGELOG.md)变更说明_
|
||||
|
||||
## 主要变化(2.8.11)
|
||||
* 6496a8f fix: fs.close
|
||||
|
||||
|
||||
+14
-3
@@ -56,6 +56,9 @@ class Monitor extends Searcher {
|
||||
case 1001:
|
||||
event_bus.emit('Turn_off_the_Monitor', '评论失败')
|
||||
break;
|
||||
case 1010:
|
||||
event_bus.emit('Turn_off_the_Monitor', '已掉号')
|
||||
break;
|
||||
case 1004:
|
||||
event_bus.emit('Turn_off_the_Monitor', '需要输入验证码')
|
||||
break
|
||||
@@ -194,7 +197,6 @@ class Monitor extends Searcher {
|
||||
case 1007:
|
||||
case 1008:
|
||||
case 1009:
|
||||
case 1010:
|
||||
case 1011:
|
||||
case 2002:
|
||||
case 2003:
|
||||
@@ -217,6 +219,7 @@ class Monitor extends Searcher {
|
||||
is_outof_maxfollow = 2005
|
||||
break;
|
||||
case 1001:
|
||||
case 1010:
|
||||
case 1004:
|
||||
case 2001:
|
||||
case 3001:
|
||||
@@ -593,6 +596,10 @@ class Monitor extends Searcher {
|
||||
.replace(
|
||||
new RegExp(copy_chat[0], 'g'),
|
||||
global_var.get("myUNAME") || '')
|
||||
} else {
|
||||
if (is_repost_then_chat) {
|
||||
chat = chat + relay_chat
|
||||
}
|
||||
}
|
||||
|
||||
status = await retryfn(
|
||||
@@ -600,7 +607,7 @@ class Monitor extends Searcher {
|
||||
[4],
|
||||
() => bili.sendChatWithOcr(
|
||||
rid,
|
||||
is_repost_then_chat ? relay_chat.split('//')[0] : chat,
|
||||
chat,
|
||||
chat_type
|
||||
)
|
||||
)
|
||||
@@ -668,7 +675,11 @@ class Monitor extends Searcher {
|
||||
status = await retryfn(
|
||||
5,
|
||||
[3, 4],
|
||||
() => bili.autoRelay(global_var.get("myUID"), dyid, relay_chat, ctrl)
|
||||
() => bili.autoRelay(
|
||||
global_var.get("myUID"),
|
||||
dyid,
|
||||
relay_chat,
|
||||
ctrl)
|
||||
)
|
||||
|
||||
if (status) {
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ async function update(isDdownload) {
|
||||
if (download_url.length) {
|
||||
if (isDdownload) {
|
||||
await try_for_each(download_url.entries(), async ([i, url]) => {
|
||||
let proxy_url = "https://ghproxy.com/";
|
||||
let proxy_url = "https://mirror.ghproxy.com/";
|
||||
proxy_url += url
|
||||
log.warn('自动下载', `切换代理${proxy_url}`)
|
||||
await download(proxy_url, `latest_version${i}.zip`)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lottery-auto-script",
|
||||
"version": "2.8.11",
|
||||
"version": "2.8.13",
|
||||
"description": "自动参与B站动态抽奖",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user