[英]Electron set image as wallpaper (OS X and Windows)
How do I go about setting an image as the wallpaper on OS X and Windows? 如何在OS X和Windows上将图像设置为墙纸? I've looked through the documentation but can't find information on this.
我已经浏览了文档,但是找不到有关此信息。
You can use this module for electron. 您可以将此模块用于电子。
$ npm install wallpaper
Note that this module works only for macOS 10.12+, Linux, and Windows 10+.
请注意,此模块仅适用于macOS 10.12 +,Linux和Windows 10+。 as on 8th April, 2019
截至2019年4月8日
I am finding some solution to work on Windows 7 too. 我也在寻找在Windows 7上也可以使用的解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.