Code Monkey home page Code Monkey logo

livewallpaper's Introduction

LiveWallpaper

WebView2 实现的动态壁纸程序,支持播放本地网页,网络链接,本地视频等多种效果(具体参考 wallpaperExamples 内示例)。

example

实现效果(以 demo1 为例)

下载

https://github.com/lihaoze123/LiveWallpaper/releases

运行

双击 LiveWallpaper.exe 文件直接运行,修改 resource/wallpaper.html 文件以达到更多效果(有些示例文件需要手动编译,具体参考示例内的 )。

可以通过组合键 Win+Esc 结束程序。

构建

请首先确保已安装 Visual Studio 2022,然后按照 WebView2 官方指南 安装依赖库 Microsoft.Web.WebView2 以及 Microsoft.Windows.ImplementationLibrary

您可以通过双击 LiveWallpaper.sln 打开 Visual Studio 2022 以编译,或者通过命令行使用 MSBuild 等工具来生成,比如:

C:\"Program Files"\"Microsoft Visual Studio"\2022\Community\Msbuild\Current\Bin\MSBuild.exe LiveWallpaper.sln /t:Rebuild /p:Configuration=Release

具体依个人的 Visual Studio 安装路径而定。

如需在 Visual Studio 内调试,请将 html 文件置于 /LiveWallpaper/resource 文件夹内,并重命名为 wallpaper.html

livewallpaper's People

Contributors

lihaoze123 avatar tab1949 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.