Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AkiChase committed Nov 8, 2022
1 parent 880154d commit ad52937
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,16 @@ TinyPNG使用将WebP, PNG and JPEG图片进行智能有损压缩,该压缩对
TinyPNG-Unlimited.exe dir "path\to\tasks.json"
```
tasks-emample.json:

```json
{
"file_tasks": ['D:\\1.jpg', 'D:\\2.jpg'],
"dir_tasks": ['D:\\dir1', 'D:\\dir2']
"file_tasks": ["D:\\1.jpg", "D:\\2.jpg"],
"dir_tasks": ["D:\\dir1", "D:\\dir2"]
}
```


参考 [tasks-help.txt](https://github.com/ruchuby/TinyPNG-Unlimited/blob/develop/bin/tasks-help.txt)

4. 申请API秘钥

程序运行时会自动申请秘钥,但也可以通过此方式再次申请
Expand Down

0 comments on commit ad52937

Please sign in to comment.