dsh-jiuling-remote-mobile 1.0.1 → 1.0.2
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/cordis.patch.yml +18 -0
- package/package.json +6 -2
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# dsh-jiuling-remote-mobile —— bundle 补丁。
|
|
2
|
+
#
|
|
3
|
+
# 这个文件的作用是往 profile 的 loader 树里 insert 一行,让本插件被真正加载。
|
|
4
|
+
# 官方安装器只接受「bundle 型」插件(`dsh.bundle.patch` 指向本文件),
|
|
5
|
+
# 没有它会被判成 `not-a-bundle` 而拒绝安装。
|
|
6
|
+
#
|
|
7
|
+
# 这一行同时管两端:
|
|
8
|
+
# - host 半(lib/index.js)被 Loader 加载 —— 挂浏览器桥、跟随电脑事件流;
|
|
9
|
+
# - client 半(lib/client.js)由 `dsh.client` 声明被 client-modules 的 host 半
|
|
10
|
+
# 扫描进浏览器 roster —— 注册「电脑」页签那个目录对话框。
|
|
11
|
+
# 两者是同一个包的两面,一行就够。
|
|
12
|
+
#
|
|
13
|
+
# 只 insert 自己一行、不碰任何既有行:补丁是「整行替换 config」而不是合并,
|
|
14
|
+
# 所以覆盖别人的行会造成难以排查的配置丢失。
|
|
15
|
+
|
|
16
|
+
- insert:
|
|
17
|
+
- id: jiuling-remote-mobile
|
|
18
|
+
name: 'dsh-jiuling-remote-mobile'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-jiuling-remote-mobile",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "DSH 远程目录(手机端):在选文件夹流程里多出「电脑」页签,进入电脑目录、在电脑上发起对话,并把电脑的实时消息流同步到手机本地界面(只传文本,不映射桌面)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -19,9 +19,13 @@
|
|
|
19
19
|
"cloudflare-tunnel"
|
|
20
20
|
],
|
|
21
21
|
"files": [
|
|
22
|
-
"lib"
|
|
22
|
+
"lib",
|
|
23
|
+
"cordis.patch.yml"
|
|
23
24
|
],
|
|
24
25
|
"dsh": {
|
|
26
|
+
"bundle": {
|
|
27
|
+
"patch": "./cordis.patch.yml"
|
|
28
|
+
},
|
|
25
29
|
"client": {
|
|
26
30
|
"inject": [],
|
|
27
31
|
"platform": "web"
|