dsh-live2dwaifu 0.1.3 → 0.1.4

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/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -79,7 +79,7 @@ frame.contentWindow.postMessage({ type: 'dsh-live2d/manage' }, '*');
79
79
  ## 一些常见的小脾气
80
80
 
81
81
  **右下角什么都没有?**
82
- 先重启一次 DSH;还不来就看 `cordis.patch.yml` 里有没有 `- id: dsh-live2dwaifu` 这一行。
82
+ 先重启一次 DSH。还不来,看 profile 的 `package.json`:`dsh.profile.bundles` 里得有 `dsh-live2dwaifu`,`dependencies` 里也得有。用 `dsh plugin add` 装的会自动写进去;手动解压到 `node_modules` 的不会——DSH 只加载列在 `bundles` 里的包,名字漏了就当没装,`/dsh-live2d/api/models` 也会 404。
83
83
 
84
84
  **导入了却不认得?**
85
85
  多半是文件夹选得太靠上或太靠下,`.model3.json` 就在里面那一层,选它隔壁那层。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-live2dwaifu",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "给 DSH 网页右下角请一个 Live2D 角色:会眨眼、会呼吸、说话时嘴动、心情变了眉毛跟着动。模型不用内置——谁装谁放自己的文件夹;支持自定义 .exp3.json 表情、窗口大小可拖、背景可换。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",