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 |
@@ -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
@@ -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
@@ -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.12",
|
||||
"version": "2.8.13",
|
||||
"description": "自动参与B站动态抽奖",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user