puppet-xp icon indicating copy to clipboard operation
puppet-xp copied to clipboard

no such file or directory, stat 'E:\docs\images\wechaty-icon.png'

Open leochen-g opened this issue 2 years ago • 1 comments

image

会遇到默认头像找不到的情况,看到代码里对头像是取得相对位置,但是打包的时候并不会把头像打包进去,而且这个位置是相对于命令执行的目录来算相对路径的,建议可以更换为默认的base64 图片或者一个在线图片 image

leochen-g avatar Jul 12 '22 06:07 leochen-g

I guess this problem occurs when you call Contact.avatar() ⇒ Promise <FileBox> method.

In fact, XP does not support this method yet, so a fixed value is written at present, and I will optimize this problem in the next version.

Thanks for your attention.

atorber avatar Jul 12 '22 06:07 atorber