fix generate dir

This commit is contained in:
guanpengchn
2018-12-13 22:26:33 +08:00
parent edc10f84c5
commit 567d571d6f
4 changed files with 1 additions and 0 deletions
View File

Before

Width:  |  Height:  |  Size: 661 B

After

Width:  |  Height:  |  Size: 661 B

View File

Before

Width:  |  Height:  |  Size: 738 B

After

Width:  |  Height:  |  Size: 738 B

+1
View File
@@ -91,6 +91,7 @@ function writeREADME() {
const encodeType = encodeURI(type)
// 生成一行表格
const line = `|${title}|[${info.rating.average}](${info.alt})|[![](https://raw.githubusercontent.com/guanpengchn/aaron.books/master/download.png)](https://github.com/guanpengchn/aaron.books/raw/master/${encodeType}/${encodeTitle}.pdf) [![](https://raw.githubusercontent.com/guanpengchn/aaron.books/master/buycar.png)](http://search.dangdang.com/?key=${encodeTitle}&act=input)|\n`
// const line = `|${title}|[${info.rating.average}](${info.alt})|[下载](https://github.com/guanpengchn/aaron.books/raw/master/${encodeType}/${encodeTitle}.pdf) [购买](http://search.dangdang.com/?key=${encodeTitle}&act=input)|\n`
content += line
})
})