mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 隔离下载
This commit is contained in:
parent
a4d4126825
commit
88331e938d
@ -1780,7 +1780,7 @@ export class tools extends plugin {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const url = urlRex.exec(e.msg)[0];
|
const url = urlRex.exec(e.msg)[0];
|
||||||
const tgSavePath = this.getCurDownloadPath(e);
|
const tgSavePath = `${this.getCurDownloadPath(e)}/tg`;
|
||||||
await startTDL(url, tgSavePath, isOversea, this.myProxy);
|
await startTDL(url, tgSavePath, isOversea, this.myProxy);
|
||||||
e.reply(`识别:小飞机(学习版)`);
|
e.reply(`识别:小飞机(学习版)`);
|
||||||
const mediaFiles = await getMediaFiles(tgSavePath);
|
const mediaFiles = await getMediaFiles(tgSavePath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user