dsh-pet-live2d 3.3.0 → 3.3.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # 更新日志
2
2
 
3
+ ## 3.3.1(2026-10-09)
4
+
5
+ ### 修:插件卡片上的图标换成她本人
6
+
7
+ 3.3.0 那张卡片上的图标是手画的抽象图形,不好看。现在直接用桌面端托盘那套美术:从待机画面
8
+ 裁一版脸的特写(256×256,带透明底),「插件」页与「设置 → 内置插件」两处都换成它。
9
+
10
+ 图标与模型同属 **CC BY-NC-SA 4.0**(由截屏裁切缩放而来,属于改编),署名见
11
+ [`../NOTICE.md`](../NOTICE.md)。
12
+
3
13
  ## 3.3.0(2026-10-09)
4
14
 
5
15
  ### 新:官方「插件」页里有自己的图标和常用设置
package/README.md CHANGED
@@ -378,6 +378,7 @@ cd ../../tools/browser-test && npm install && npm run suite
378
378
  - Cubism Core:Live2D 专有,**不随包分发**;缺失时由宿主半区从 Live2D 官方 CDN 取一份并缓存到本地
379
379
  - DS鲸鱼娘模型:**CC BY-NC-SA 4.0**(署名 · **非商业** · 相同方式共享),见
380
380
  [`pets/ds-whale-girl/LICENSE`](pets/ds-whale-girl/LICENSE)。
381
+ **插件图标 `icon.png` 同属这一许可**(由模型待机画面裁切缩放而来,属于改编)。
381
382
 
382
383
  版权链:**上善无形**(鲸鱼娘角色原作,原创 OC「溟月」)→ **ZipZipPipe**(DeepSeek 女仆二创)
383
384
  → **氵六青**(本模型)。氵六青已授权本项目转载开源,但该授权**不解除基础版权**,
package/icon.png ADDED
Binary file
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-pet-live2d",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Live2D 桌宠插件:为 DSH Web GUI 挂一只可拖动、会跟随鼠标、能换动作与表情的 Live2D 宠物。",
5
- "icon": "./icon.svg",
5
+ "icon": "./icon.png",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",
8
8
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  "docs",
21
21
  "pets",
22
22
  "locale",
23
- "icon.svg",
23
+ "icon.png",
24
24
  "cordis.patch.yml",
25
25
  "screenshots.json",
26
26
  "README.md",
@@ -53,8 +53,8 @@
53
53
  }
54
54
  },
55
55
  "optionalDependencies": {
56
- "dsh-pet-live2d-desktop-darwin-arm64": "3.3.0",
57
- "dsh-pet-live2d-desktop-win32-x64": "3.3.0"
56
+ "dsh-pet-live2d-desktop-darwin-arm64": "3.3.1",
57
+ "dsh-pet-live2d-desktop-win32-x64": "3.3.1"
58
58
  },
59
59
  "devDependencies": {
60
60
  "esbuild": "^0.25.10",
package/icon.svg DELETED
@@ -1,45 +0,0 @@
1
- <!--
2
- dsh-pet-live2d 的插件图标(原创几何图形,不含模型的任何美术素材 ——
3
- 模型是 B站@氵六青 的 DS鲸鱼娘,授权与这个图标无关)。
4
-
5
- 用途:DSH 侧栏「插件」页、设置 → 内置插件列表里这张卡片的图标。
6
- 宿主的读法(`dsh-app-boot` 的 `readPluginMeta` → `iconOf`):
7
- package.json 的 `"icon": "./icon.svg"`,或导出的 `./icon` 子路径;
8
- 必须是**包目录内的相对路径**,SVG / PNG / JPEG / WebP,≤256 KiB。
9
- 它以 `data:image/svg+xml;base64,…` 塞进 `<img width=36 height=36>`,
10
- `object-fit:contain` —— 所以画布按 36×36 画、图形留一点边距,
11
- 且**不能依赖 currentColor**(img 里没有继承),颜色一律写死。
12
-
13
- 几何约定:所有图形都在 0…36 的 viewBox 内;尾鳍画在身体**之前**,
14
- 它靠左下那只角(10,20.4)藏在身体里,看起来才是连着的。
15
- -->
16
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" width="36" height="36" role="img" aria-label="Live2D pet">
17
- <title>Live2D 桌宠</title>
18
- <defs>
19
- <linearGradient id="pet-tile" x1="0" y1="0" x2="0.45" y2="1">
20
- <stop offset="0" stop-color="#7FB0FF"/>
21
- <stop offset="1" stop-color="#3B5DD4"/>
22
- </linearGradient>
23
- </defs>
24
-
25
- <!-- 底:一块圆角砖。浅色与深色主题下都要能看见,所以自带底色而不是只描线。 -->
26
- <rect x="0.6" y="0.6" width="34.8" height="34.8" rx="9.4" fill="url(#pet-tile)"/>
27
-
28
- <!-- 头顶冒出来的那颗心(对应她的「冒爱心」表情) -->
29
- <g fill="#FFB4D2">
30
- <circle cx="12.7" cy="7.7" r="2"/>
31
- <circle cx="16.5" cy="7.7" r="2"/>
32
- <path d="M10.6 8.4h8l-4 4.3z"/>
33
- </g>
34
-
35
- <!-- 尾鳍(左下角压在身体下面) -->
36
- <path d="M10 20.4 2.2 12.4l8.6.8z" fill="#D8E6FF"/>
37
-
38
- <!-- 身体 -->
39
- <ellipse cx="17.6" cy="21" rx="13" ry="7.4" fill="#FFFFFF"/>
40
-
41
- <!-- 眼睛 / 嘴 / 腮红 -->
42
- <circle cx="23.6" cy="19.9" r="1.7" fill="#1E2A4C"/>
43
- <path d="M21.7 23.6c1 1 2.3 1 3.3 0" fill="none" stroke="#1E2A4C" stroke-width="1" stroke-linecap="round" opacity=".9"/>
44
- <ellipse cx="18.9" cy="24" rx="1.9" ry="1.1" fill="#FFA6C8"/>
45
- </svg>