Skip to content

dsh-hao-import v1.2.0

Choose a tag to compare

@AB-png123 AB-png123 released this 25 Oct 01:46
· 17 commits to main since this release

修复:装完空转

旧版只认 ~/.dsh/wallpaper-import/run-import.sh,别人从 GitHub 安装后找不到脚本,插件只写一行日志、什么也不做。1.2.0 起:

  • 默认执行包内 scripts/run-import.sh,dsh plugin add github:AB-png123/dshplugin 装好即可用;
  • ~/.dsh/wallpaper-import/ 只是可选手动路径,需显式 DSH_HAO_IMPORT_SCRIPT 才会使用,不再静默回退;
  • 脚本或同目录 import_hao.py 缺失时,以 error 级别报出路径、来源和修复方式;
  • 新增 node:test(包内脚本执行、缺失报错、覆盖路径失效)与 tarball 打包断言。

安装

dsh plugin --profile desktop add github:AB-png123/dshplugin
# 或下载下方 tgz:
dsh plugin --profile desktop add ./dsh-hao-import-1.2.0.tgz

前置条件:先安装 dsh-plugin-wallpaper-engine,否则导入的壁纸不会被展示。

重启 DSH 后执行 tail -n 10 ~/.dsh-wallpaper-engine/import.log,看到 rc=0 与「新增 N 条」即成功。