爱意满满的作品展示区。
fanzheng

[炒冷饭]Bing 壁纸自动下载更新,支持 Win 和 Mac,理论也支持 Linux

  •  
  •   fanzheng · Jul 9, 2020 · 2248 views
    This topic created in 2225 days ago, the information mentioned may be changed or developed.

    一个单文件 golang 程序,从 bing 下载当天壁纸,高清版本( UHD ? 4k ),放.data 目录下,设置为壁纸。然后就退出。

    我的使用场景是设置成 Windows 启动项,每天开机有网络的化,就会自动更新壁纸。

    支持 Windows 和 Mac,Windows 版本编译的时候加了 -ldflags -H=windowsgui,所以没有运行窗口。Mac 在用户启动项配置后,勾上隐藏也有 terminal 窗口,不知道怎么去除。

    理论上也支持 linux,没有日常使用 linux,所以也没有编译。

    代码在这里: https://github.com/zhimiaoli/bwall binary 在这里: https://github.com/zhimiaoli/bwall/releases

    3 replies    2020-07-09 18:46:10 +08:00
    alphadog619
        1
    alphadog619  
       Jul 9, 2020
    Bing Wallpaper 官方。
    fanzheng
        2
    fanzheng  
    OP
       Jul 9, 2020
    @alphadog619 那个应该会常驻后台,这个就是不常驻后台,另外就是支持 Mac 和 linux.
    labulaka521
        3
    labulaka521  
       Jul 9, 2020
    自已以前用 shell 脚本写过
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1029 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 18:53 · PVG 02:53 · LAX 11:53 · JFK 14:53
    ♥ Do have faith in what you're doing.