@mzzsfy/dsh-maintain 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/client.js +3 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mzzsfy/dsh-maintain",
3
3
  "description": "DSH 自身的版本管理:追踪 npm dist-tag 新版本、一键升级、安全重启",
4
- "version": "0.7.1",
4
+ "version": "0.8.0",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "exports": {
package/src/client.js CHANGED
@@ -23,9 +23,9 @@ window.__ModuleLoader__.load({
23
23
  else console.warn('[dsh-maintain] ' + text)
24
24
  }
25
25
 
26
- // 导航图标声明:交给 dsh-settings-nav-icons 统一渲染(本插件分区 → wrench);
27
- // 该插件未就绪时入队,由其启动时排空
28
- const NAV_ICON = { '版本与运维': 'wrench' }
26
+ // 导航图标声明:交给 dsh-settings-nav-icons 统一渲染;双键 = 分区 label + 市场
27
+ // 短名(发现页收录显示形态);该插件未就绪时入队,由其启动时排空
28
+ const NAV_ICON = { '版本与运维': 'wrench', 'dsh-maintain': 'wrench' }
29
29
  if (window.__navicIcons !== undefined) window.__navicIcons.register(NAV_ICON)
30
30
  else if (Array.isArray(window.__navicIconQueue)) window.__navicIconQueue.push(NAV_ICON)
31
31
  else window.__navicIconQueue = [NAV_ICON]