Compare commits

..
3 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
4 changed files with 16 additions and 5 deletions
+6
View File
@@ -1,5 +1,11 @@
<!-- 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)
+8 -3
View File
@@ -596,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(
@@ -672,9 +676,10 @@ class Monitor extends Searcher {
5,
[3, 4],
() => bili.autoRelay(
global_var.get("myUID"), dyid,
is_repost_then_chat ? chat + relay_chat : relay_chat
, ctrl)
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.12",
"version": "2.8.13",
"description": "自动参与B站动态抽奖",
"main": "main.js",
"scripts": {