mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: V1.3.1 修复油管解析bug
This commit is contained in:
parent
debecdc124
commit
b3e6d93236
@ -999,7 +999,7 @@ export class tools extends plugin {
|
||||
await child_process.execSync(cmd);
|
||||
e.reply(segment.video(`${ fullpath }/${ v }.mp4`))
|
||||
// 清理文件
|
||||
// await deleteFolderRecursive(`${ fullpath.split('\/').slice(0, -2).join('/') }`);
|
||||
await deleteFolderRecursive(`${ fullpath.split('\/').slice(0, -2).join('/') }`);
|
||||
} catch (error) {
|
||||
logger.error(error.toString());
|
||||
e.reply("y2b下载失败");
|
||||
|
Loading…
x
Reference in New Issue
Block a user