@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