🎨 优化

This commit is contained in:
yeyang
2023-05-13 22:58:57 +08:00
parent 8b5b562172
commit 0775f553c8
3 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View File

@@ -4,4 +4,5 @@ data/
test.*
*.log
.vscode/
.eslintignore
.eslintignore
temp/

View File

@@ -19,8 +19,8 @@ export class NGA extends plugin {
}
]
})
this.incomeCurvePath = `${Plugin_Path}/data/incomeCurve`
this.referencePanelPath = `${Plugin_Path}/data/referencPanel`
this.incomeCurvePath = `${Plugin_Path}/temp/incomeCurve`
this.referencePanelPath = `${Plugin_Path}/temp/referencPanel`
this.incomeCurveObj = incomeCurve
}

View File

@@ -104,7 +104,7 @@ async function getAnimeInfo (id) {
}
async function downFile (url) {
let path = `${Plugin_Path}/data/video/whatanime.mp4`
let path = `${Plugin_Path}/temp/whatanime/1.mp4`
logger.mark('[Yenai-Plugin][whatanime]下载预览视频')
await common.downFile(url, path)
logger.mark('[Yenai-Plugin][whatanime]下载预览视频成功')