dsh-plugin-startup-animation 1.12.4 → 1.12.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.
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
`webServer.register` 提供素材与管理路由。**没有任何 npm 依赖**,浏览器半边只从宿主的
|
|
30
30
|
模块表 `require('react')`,装好即用、无需构建。
|
|
31
31
|
|
|
32
|
-
开箱自带 **
|
|
32
|
+
开箱自带 **6 段视频 / 7 张壁纸 / 9 段语音**,也支持上传你自己的 MP4 / WebM / GIF /
|
|
33
33
|
PNG / JPG / MP3。声音有两个彼此独立的开关:视频自己的音轨,以及单独的开机音频。
|
|
34
34
|
|
|
35
35
|
## 核心特性
|
|
@@ -60,9 +60,21 @@ PNG / JPG / MP3。声音有两个彼此独立的开关:视频自己的音轨
|
|
|
60
60
|
|
|
61
61
|
## 安装
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
四种方式,任选一种。装好后都在 **设置 → 开机动画** 里配置,首次安装完刷新一次页面即可。
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
### 方式一:搜包名(最简单)
|
|
66
|
+
|
|
67
|
+
插件已发布到 npm,DSH 0.2.1+ 的插件管理器能直接装。
|
|
68
|
+
|
|
69
|
+
1. 打开 **设置 → 插件**,点 **添加插件**
|
|
70
|
+
2. **插件名**填 `dsh-plugin-startup-animation`
|
|
71
|
+
3. 点 **安装**,完成后刷新页面
|
|
72
|
+
|
|
73
|
+
包名也可以在 [npm 页面](https://www.npmjs.com/package/dsh-plugin-startup-animation) 上核对版本。
|
|
74
|
+
|
|
75
|
+
### 方式二:直链(不走 npm)
|
|
76
|
+
|
|
77
|
+
GitHub 慢、或想直接从 Release 装时用这条。这条路**不需要 npm,也不需要 git**。
|
|
66
78
|
|
|
67
79
|
1. 打开 **设置 → 插件**,点 **添加插件**
|
|
68
80
|
2. **插件名**填下面这条地址
|
|
@@ -77,22 +89,26 @@ https://github.com/WWFZS/dsh-plugin-startup-animation/releases/latest/download/d
|
|
|
77
89
|
**文件的绝对路径**填进「插件名」(例如 `C:\Users\你\Downloads\dsh-plugin-startup-animation.tgz`),
|
|
78
90
|
效果一样。
|
|
79
91
|
|
|
80
|
-
###
|
|
92
|
+
### 方式三:命令行
|
|
81
93
|
|
|
82
94
|
```sh
|
|
95
|
+
# 从 npm(profile 需要能访问 npm registry)
|
|
96
|
+
dsh plugin --profile <你的 profile> add dsh-plugin-startup-animation
|
|
97
|
+
|
|
98
|
+
# 或从 GitHub 直链
|
|
83
99
|
dsh plugin --profile <你的 profile> add https://github.com/WWFZS/dsh-plugin-startup-animation/releases/latest/download/dsh-plugin-startup-animation.tgz
|
|
84
100
|
```
|
|
85
101
|
|
|
86
102
|
本地 `.tgz` 文件或本地目录路径同样可以,把最后一个参数换掉即可。然后重启 `dsh`。
|
|
87
103
|
|
|
88
|
-
###
|
|
104
|
+
### 方式四:从源码
|
|
89
105
|
|
|
90
106
|
```sh
|
|
91
107
|
git clone https://github.com/WWFZS/dsh-plugin-startup-animation.git
|
|
92
108
|
dsh plugin --profile <你的 profile> add /该仓库的绝对路径
|
|
93
109
|
```
|
|
94
110
|
|
|
95
|
-
> **官方 DSH 桌面版**:请从应用内的 **设置 → 插件**
|
|
111
|
+
> **官方 DSH 桌面版**:请从应用内的 **设置 → 插件** 安装(方式一或方式二)。那个 profile
|
|
96
112
|
> 归应用的插件管理器管,命令行改动无效。
|
|
97
113
|
|
|
98
114
|
## 怎么用
|
|
@@ -165,7 +181,7 @@ dsh plugin --profile <你的 profile> add https://github.com/WWFZS/dsh-plugin-st
|
|
|
165
181
|
|
|
166
182
|
| 类型 | 格式 | 说明 |
|
|
167
183
|
|---|---|---|
|
|
168
|
-
| 视频 | `mp4` `m4v` `webm` `ogv` `ogg` | 等待期间循环播放。内置为 1080p / 5–
|
|
184
|
+
| 视频 | `mp4` `m4v` `webm` `ogv` `ogg` | 等待期间循环播放。内置为 1080p / 5–16s / faststart(`dsh-大肥鱼` 与 `欢迎回来` 为 720p)。 |
|
|
169
185
|
| 图片 | `gif` `apng` `webp` `png` `jpg` `jpeg` | `gif`/`apng`/`webp` 会动;静图带缓慢呼吸缩放。 |
|
|
170
186
|
| 音频 | `mp3` `wav` `m4a` `aac` `flac` `opus` | 仅用于开机音频。 |
|
|
171
187
|
|
|
@@ -175,8 +191,8 @@ dsh plugin --profile <你的 profile> add https://github.com/WWFZS/dsh-plugin-st
|
|
|
175
191
|
|
|
176
192
|
以下全部随包分发,在列表里直接可选:
|
|
177
193
|
|
|
178
|
-
- **MP4** ——
|
|
179
|
-
`dsh-大肥鱼` 与 `欢迎回来`
|
|
194
|
+
- **MP4** —— 6 段,全部为 H.264 faststart(可直接流式播放,每段 1.6–6.9 MB)。
|
|
195
|
+
`dsh-大肥鱼` 与 `欢迎回来` 带语音音轨(打开「视频带声播放」即可听到),另外四段无音轨
|
|
180
196
|
- **壁纸** —— 7 张,附带预生成的 480px 缩略图供列表使用
|
|
181
197
|
- **音频** —— 9 段语音
|
|
182
198
|
|
package/builtin/MP4/.posters/550C-/350/265/233/345/215/232/346/216/247/345/210/266/345/217/260.jpg
ADDED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-startup-animation",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Animated full-screen startup screen shown while DeepSeek Harness boots — click to skip. Ships a built-in MP4/wallpaper/audio library and accepts your own files. 开机动画 / 启动动画:启动 Harness 时显示全屏动画,随包内置视频、壁纸与开机音频,也可以用自己的素材。",
|
|
6
6
|
"license": "MIT",
|