docs/install: AI-friendly one-command install (README + scripts/install.sh/.bat + fresh dist tgz)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
TGZ="$(pwd)/dist/dsh-watch-0.1.0.tgz"
|
||||
if [ ! -f "$TGZ" ]; then npm install; npm pack; cp dsh-watch-0.1.0.tgz dist/; rm -f dsh-watch-0.1.0.tgz; fi
|
||||
dsh plugin --profile desktop add "$TGZ"
|
||||
echo "✅ dsh-watch 已安装/更新"
|
||||
Reference in New Issue
Block a user