53

从零开始用 electron 手撸一个截屏工具

 5 years ago
source link: https://juejin.im/post/5bbac5cee51d450e7042ad2c
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
最近在尝试利用 electron 将一个 web 版的聊天工具包装成一个桌面 APP。作为一个聊天工具,截屏可以说是一个必备功能了。不过遗憾的是没有找到很成熟的库来用,也可能是打开方式不对,总之呢没看到现成的,于是就想从头撸一个简单的截图工具。下面就进入正题吧

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK