Compare commits

..
7 Commits
Author SHA1 Message Date
shanmite 92fab1774d docs: 更新CHANGELOG 2023-12-01 10:22:40 +08:00
shanmite addb9c65fe fix: ghproxy.com->mirror.ghproxy.com (#333)
Fixed #333
2023-12-01 10:21:08 +08:00
shanmite b86e756520 fix: at错位 2023-12-01 10:16:11 +08:00
shanmite f3af8dff17 docs: 更新CHANGELOG 2023-11-25 13:46:42 +08:00
shanmite 5d30178bd3 ci: docker构建 2023-11-25 11:21:31 +08:00
shanmite 0c610701cb fix: 评论并转发 (#259)
Fixed #259
2023-11-25 10:42:17 +08:00
shanmite 6dfee7efb8 fix: 出现帐号未登录错误时自动跳转下一个帐号 2023-11-25 10:20:13 +08:00
5 changed files with 30 additions and 6 deletions
+1 -1
View File
@@ -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"
+13
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -1,6 +1,6 @@
{
"name": "lottery-auto-script",
"version": "2.8.11",
"version": "2.8.13",
"description": "自动参与B站动态抽奖",
"main": "main.js",
"scripts": {