dsh-checker
检测版本更新并在Web端显示升级弹窗 适合需要及时获取最新版本提示并一键查看升级指令的用户。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗Configuration
Entry config keys:
| Key | Default | Meaning |
|---|---|---|
bust | 0 | Bump to hot-deploy edits of lib/plugin.js. |
installCommand | platform default | Overrides the upgrade command shown first. |
restartCommand | (none) | Optional second command for deployments that run dsh under a service manager; set "" to hide it. |
previewUpdate | false | Preview mode: pretend a newer version exists (no registry lookup) so the upgrade dialog can be tried out. |
registryUrls | npmjs then npmmirror | Custom registry base URLs, tried in order; the first reachable one wins. |