🎨 优化
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -4,4 +4,5 @@ data/
|
||||
test.*
|
||||
*.log
|
||||
.vscode/
|
||||
.eslintignore
|
||||
.eslintignore
|
||||
temp/
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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]下载预览视频成功')
|
||||
|
||||
Reference in New Issue
Block a user