docs/install: AI-friendly one-command install (README + scripts/install.sh/.bat + fresh dist tgz)

This commit is contained in:
2026-09-02 01:15:10 +08:00
parent 711244c7ad
commit f4e14d8513
4 changed files with 95 additions and 48 deletions
+11
View File
@@ -0,0 +1,11 @@
@echo off
cd /d %~dp0\..
set TGZ=%CD%\dist\dsh-watch-0.1.0.tgz
if not exist "%TGZ%" (
call npm install
call npm pack
copy /y dsh-watch-0.1.0.tgz dist\ >nul
del /q dsh-watch-0.1.0.tgz
)
dsh plugin --profile desktop add "%TGZ%"
echo dsh-watch installed/updated