diff --git a/docs/changelogs/CHANGELOG.v1.5.8.md b/docs/changelogs/CHANGELOG.v1.5.8.md
index ca40304a..1ceab5ff 100644
--- a/docs/changelogs/CHANGELOG.v1.5.8.md
+++ b/docs/changelogs/CHANGELOG.v1.5.8.md
@@ -3,11 +3,12 @@
QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-24568
## 修复与优化
-* 修复文件残留问题
+* 修复视频文件残留问题
* 重构 getcookies接口 支持大部分常见域
+
## 新增与调整
-* 日志清理
-* 支持QQ音乐 图文卡片
+* 日志大小限制
+* 支持 QQ音乐 卡片 无签名支持时 启用内置方法(缺点没有封面 限速1min/条)
* 支持Window X86-32机器
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
diff --git a/package.json b/package.json
index 141237c6..298afcf9 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
- "version": "1.5.7",
+ "version": "1.5.8",
"scripts": {
"watch:dev": "vite --mode development",
"watch:prod": "vite --mode production",
diff --git a/src/onebot11/action/msg/SendMsg/create-send-elements.ts b/src/onebot11/action/msg/SendMsg/create-send-elements.ts
index a0a36b82..bfca7171 100644
--- a/src/onebot11/action/msg/SendMsg/create-send-elements.ts
+++ b/src/onebot11/action/msg/SendMsg/create-send-elements.ts
@@ -134,8 +134,10 @@ const _handlers: {
const uri2LocalRes = await uri2local(thumb);
if (uri2LocalRes.success) thumb = uri2LocalRes.path;
}
-
- return SendMsgElementConstructor.video(path, fileName, thumb);
+ let videoEle = await SendMsgElementConstructor.video(path, fileName, thumb);
+ //未测试
+ context.deleteAfterSentFiles.push(videoEle.videoElement.filePath);
+ return videoEle;
},
[OB11MessageDataType.miniapp]: async ({ data: any }) => SendMsgElementConstructor.miniapp(),
diff --git a/src/onebot11/version.ts b/src/onebot11/version.ts
index 4f7b3e8c..32eadef0 100644
--- a/src/onebot11/version.ts
+++ b/src/onebot11/version.ts
@@ -1 +1 @@
-export const version = '1.5.7';
+export const version = '1.5.8';
diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts
index a4ce9e15..7cf8fcda 100644
--- a/src/webui/ui/NapCat.ts
+++ b/src/webui/ui/NapCat.ts
@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'Napcat',
undefined,
- SettingButton('V1.5.7', 'napcat-update-button', 'secondary')
+ SettingButton('V1.5.8', 'napcat-update-button', 'secondary')
),
]),
SettingList([
diff --git a/static/assets/renderer.js b/static/assets/renderer.js
index 52ba36bd..d5f32807 100644
--- a/static/assets/renderer.js
+++ b/static/assets/renderer.js
@@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'Napcat',
void 0,
- SettingButton("V1.5.7", "napcat-update-button", "secondary")
+ SettingButton("V1.5.8", "napcat-update-button", "secondary")
)
]),
SettingList([