Skip to content

Releases: WhichWitchWin/dsh-power-button

Release list

0.1.0

Choose a tag to compare

@WhichWitchWin WhichWitchWin released this 08 Oct 17:08

0.1.0 —— 首个发布版,内容与 npm 上的 dsh-power-button@0.1.0 完全一致(逐字节取自同一个提交)。

给 DSH 桌面版补两个电源入口,各自可单独开关:可拖动、贴边收起的悬浮按钮;坐在侧栏头像行的电源图标。点击弹出「重启 DSH / 退出 DSH」。

安装:把下面这条命令里的 <DSH 安装目录> 换成你的实际路径
& "<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add dsh-power-button
或下载下方资产解压后:plugin add "<解压目录>"

  • 仅支持 Windows(依赖 taskkill / WMI / Windows PowerShell 5.1)
  • 静态校验 176 OK / 0 FAIL;零运行时依赖;lib/ 即成品,无构建步骤
  • 见 README、docs/DESIGN.md、docs/MAINTENANCE.md

0.1.0 — the first release; byte-for-byte the same content as dsh-power-button@0.1.0 on npm, taken from the same commit.

Adds two power entries to DSH Desktop, each switchable on its own: a draggable floating button that collapses into a thin edge strip when snapped to a side, and a power icon sitting in the sidebar account row. Clicking either opens a "restart DSH / quit DSH" menu.

Install: replace in the command below with your actual path
& "<DSH install dir>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add dsh-power-button
Or download the asset below, extract it, and run: plugin add ""

  • Windows only (relies on taskkill / WMI / Windows PowerShell 5.1)
  • Static checks: 176 OK / 0 FAIL; zero runtime dependencies; lib/ is the finished artifact with no build step
  • See README, docs/DESIGN.md and docs/MAINTENANCE.md