🎈 pref: 优化X解析逻辑

This commit is contained in:
zhiyu1998 2024-07-14 22:32:56 +08:00
parent a1d6e612a5
commit 1bc359cda6

View File

@ -772,7 +772,8 @@ export class tools extends plugin {
// 非海外使用🪜下载
const proxy = this.myProxy;
const port = this.proxyPort;
downloadImg(url, this.getCurDownloadPath(e), "", !isOversea, {}, {
const path = this.getCurDownloadPath(e);
downloadImg(url, path, "", !isOversea, {}, {
proxyAddr: proxy,
proxyPort: port
}).then(path => {