Kuingsmile / PicList

An image upload and manage tool, base on PicGo
https://piclist.cn
MIT License
2.18k stars 91 forks source link

[Bug]: Typora 使用命令上传图片验证失败 #255

Open wallleap opened 3 weeks ago

wallleap commented 3 weeks ago

前置阅读 | Pre-reading

PicList的版本 | PicList Version

v2.9.3

系统信息 | System Information

Mac(arm64)

问题重现 | Bug reproduce

使用命令

/Applications/PicList.app/Contents/MacOS/PicList -upload

验证

image

错误:
(node:92452) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `PicList --trace-deprecation ...` to show where the warning was created)

是不是需要把 new Buffer() 改成 Buffer.alloc()Buffer.allocUnsafe()Buffer.from()

相关日志 | Logs

No response

Kuingsmile commented 2 days ago

上传到哪个图床

wallleap commented 2 days ago

上传到哪个图床

上传到的 COS

Kuingsmile commented 2 days ago

是在Mac下使用Typora 然后选择的自定义命令?

Kuingsmile commented 2 days ago

https://github.com/Kuingsmile/PicList/issues/229 参考下这个

wallleap commented 2 days ago

https://github.com/Kuingsmile/PicList/issues/229 参考下这个

好的 谢谢