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
8e64e45c7c
commit
f1fd745734
@ -1781,6 +1781,7 @@ export class tools extends plugin {
|
|||||||
}
|
}
|
||||||
const url = urlRex.exec(e.msg)[0];
|
const url = urlRex.exec(e.msg)[0];
|
||||||
const tgSavePath = `${this.getCurDownloadPath(e)}/tg`;
|
const tgSavePath = `${this.getCurDownloadPath(e)}/tg`;
|
||||||
|
await mkdirIfNotExists(tgSavePath);
|
||||||
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