开发者

electron clipboard and nativeIamge api won't work properly on mac

After copy a doc file on desktop, i use this开发者_运维百科 api clipboard.readImage().isEmpty() to judge if it was a picture , it returned true. it should not return true because there is no picture in clipboard , it was a doc file. It worked correctly on windows.

how could i do to make it return the correct value on mac

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜