dsh-font-enhancer 1.4.4 → 1.4.5

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/lib/client.js +9 -0
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1637,6 +1637,15 @@ window.__ModuleLoader__.load({
1637
1637
  }, "🎯 一键恢复悬浮球默认位置(右下角)"));
1638
1638
  rows.push(feReact.createElement("div", { key: "hint", style: { fontSize: "12px", color: "#8b93a8" } },
1639
1639
  "悬浮球可拖动;本分区就在 DSH 设置中,随时可改悬浮球显隐"));
1640
+ // ── 安装与更新须知(v1.4.4)──
1641
+ rows.push(feReact.createElement("div", { key: "fe-notice-block", style: { marginTop: "12px", padding: "10px 12px", background: "rgba(255,255,255,.03)", border: "1px solid rgba(255,255,255,.06)", borderRadius: "10px", fontSize: "12px", color: "#9aa1b5", lineHeight: "1.7" } },
1642
+ feReact.createElement("div", { style: { fontWeight: "600", color: "#cfd4dc", marginBottom: "4px" } }, "📌 安装与更新须知"),
1643
+ feReact.createElement("div", null, "1. 当前由「字体插件」提供本分区(未检测到技能浏览器)。推荐列表里的技能浏览器等插件装上后,本分区会自动让位,改由对方提供更全的悬浮球导航。"),
1644
+ feReact.createElement("div", null, "2. 推荐插件列表实时显示「已安装 / 未安装」状态:绿色「已安装」= 可直接使用;红色「未安装」= 点击 ⭐ Star 前往仓库,或到插件市场搜索安装。"),
1645
+ feReact.createElement("div", { style: { color: "#e0b0b0" } }, "3. 【重要】安装或更新插件时,若报错含 minimumReleaseAge 或 ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION:这不是插件坏了,是 DSH 对刚发布 npm 包的 24 小时安全观察期(防止刚发布的投毒包)。"),
1646
+ feReact.createElement("div", { style: { color: "#e0b0b0" } }, "4. 遇到 24h 报错的处理:等一天再安装/更新即可自动通过,插件本体没有任何问题。插件作者连发多版时窗口期会顺延一天。"),
1647
+ feReact.createElement("div", null, "5. 悬浮球可拖动换位置;拖到屏幕外找不到时,点上方 🎯 按钮一键复位。")
1648
+ ));
1640
1649
  // ── 推荐插件(v1.4.4 统一三条清单:字体/技能/照片,探测式安装徽标)──
1641
1650
  function recRow(key, recId, icon, text, repo) {
1642
1651
  return feReact.createElement("div", { key: key, "data-rec-id": recId, style: { display: "flex", alignItems: "center", justifyContent: "space-between", fontSize: "13px", padding: "3px 0" } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-font-enhancer",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "DSH 字体样式 DIY 插件(搜「字体」找到我):按区域自定义中英文字体/字号/字重/斜体/颜色,框选元素创建自定义区域,全局统一控制,主题保存/切换,随机配色,支持自定义字体。DIY your DSH UI fonts \u0026 colors: per-region custom font/size/weight/italic/color, pick elements to create custom regions, unified overrides, theme save/switch, random color, custom fonts.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",