Skip to content

Commit f0b2634

Browse files
committed
feat: ModuleInstall
Update universal.mdx Update youtube.mdx Update spotify.mdx Update netflix.mdx Update addon.mdx
1 parent bbc31fd commit f0b2634

5 files changed

Lines changed: 526 additions & 58 deletions

File tree

docs/guide/addon.mdx

Lines changed: 94 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import _Footer from "./_Footer.md";
2525

2626
## 安装链接
2727
### Microsoft Translate
28+
2829
<ModuleInstall urlPrefix="https://github.com/DualSubs/AddOn/releases/latest/download/">
2930
<ModuleInstall.Tab type="loon">
3031
<ModuleInstall.Item url="DualSubs.AddOn.MicrosoftTranslate.plugin"/>
@@ -50,17 +51,99 @@ import _Footer from "./_Footer.md";
5051
</ModuleInstall>
5152

5253
### Akamaized
53-
<ModuleInstall
54-
urlPrefix="https://github.com/DualSubs/AddOn/raw/main/modules/"
55-
urls={{
56-
loon: "DualSubs.AddOn.Akamaized.plugin",
57-
surge: "DualSubs.AddOn.Akamaized.sgmodule",
58-
stash: "DualSubs.AddOn.Akamaized.stoverride",
59-
egern: "DualSubs.AddOn.Akamaized.yaml",
60-
qx: "DualSubs.AddOn.Akamaized.snippet",
61-
shadowrocket: "DualSubs.AddOn.Akamaized.srmodule"
62-
}}
63-
/>
54+
55+
<ModuleInstall urlPrefix="https://github.com/DualSubs/AddOn/raw/main/modules/">
56+
<ModuleInstall.Tab type="loon">
57+
<ModuleInstall.Item
58+
url="DualSubs.AddOn.Akamaized.plugin"
59+
badge={[
60+
{
61+
type: "tip",
62+
text: "MitM",
63+
outline: true,
64+
},
65+
{
66+
type: "info",
67+
text: "脚本",
68+
outline: true,
69+
},
70+
]}
71+
/>
72+
</ModuleInstall.Tab>
73+
<ModuleInstall.Tab type="surge">
74+
<ModuleInstall.Item
75+
url="DualSubs.AddOn.Akamaized.sgmodule"
76+
badge={[
77+
{
78+
type: "danger",
79+
text: "MitM",
80+
outline: true,
81+
},
82+
{
83+
type: "warning",
84+
text: "脚本",
85+
outline: true,
86+
},
87+
]}
88+
/>
89+
</ModuleInstall.Tab>
90+
<ModuleInstall.Tab type="stash">
91+
<ModuleInstall.Item
92+
url="DualSubs.AddOn.Akamaized.stoverride"
93+
badge={[
94+
{
95+
type: "info",
96+
text: "覆写",
97+
outline: true,
98+
},
99+
{
100+
type: "info",
101+
text: "MitM",
102+
outline: true,
103+
},
104+
{
105+
type: "info",
106+
text: "脚本",
107+
outline: true,
108+
},
109+
]}
110+
/>
111+
</ModuleInstall.Tab>
112+
<ModuleInstall.Tab type="egern">
113+
<ModuleInstall.Item
114+
url="DualSubs.AddOn.Akamaized.yaml"
115+
/>
116+
</ModuleInstall.Tab>
117+
<ModuleInstall.Tab type="qx">
118+
<ModuleInstall.Item
119+
url="DualSubs.AddOn.Akamaized.snippet"
120+
badge={[
121+
{
122+
type: "danger",
123+
text: "重写",
124+
outline: true,
125+
},
126+
{
127+
type: "tip",
128+
text: "MitM",
129+
outline: true,
130+
},
131+
]}
132+
/>
133+
</ModuleInstall.Tab>
134+
<ModuleInstall.Tab type="shadowrocket">
135+
<ModuleInstall.Item
136+
url="DualSubs.AddOn.Akamaized.srmodule"
137+
badge={[
138+
{
139+
type: "tip",
140+
text: "HTTPS 解密",
141+
outline: true,
142+
},
143+
]}
144+
/>
145+
</ModuleInstall.Tab>
146+
</ModuleInstall>
64147

65148
## 更新日志
66149
### Microsoft Translate

docs/guide/netflix.mdx

Lines changed: 94 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,100 @@ import _Footer from "./_Footer.md";
4545
详见[🍿 DualSubs: 🔣 Universal#功能列表](./universal#功能列表)
4646

4747
## 安装链接
48-
<ModuleInstall
49-
urlPrefix="https://github.com/DualSubs/Netflix/releases/latest/download/"
50-
urls={{
51-
loon: "DualSubs.Netflix.plugin",
52-
surge: "DualSubs.Netflix.sgmodule",
53-
stash: "DualSubs.Netflix.stoverride",
54-
egern: "DualSubs.Netflix.yaml",
55-
qx: "DualSubs.Netflix.snippet",
56-
shadowrocket: "DualSubs.Netflix.srmodule"
57-
}}
58-
/>
48+
49+
<ModuleInstall urlPrefix="https://github.com/DualSubs/Netflix/releases/latest/download/">
50+
<ModuleInstall.Tab type="loon">
51+
<ModuleInstall.Item
52+
url="DualSubs.Netflix.plugin"
53+
badge={[
54+
{
55+
type: "tip",
56+
text: "MitM",
57+
outline: true,
58+
},
59+
{
60+
type: "info",
61+
text: "脚本",
62+
outline: true,
63+
},
64+
]}
65+
/>
66+
</ModuleInstall.Tab>
67+
<ModuleInstall.Tab type="surge">
68+
<ModuleInstall.Item
69+
url="DualSubs.Netflix.sgmodule"
70+
badge={[
71+
{
72+
type: "danger",
73+
text: "MitM",
74+
outline: true,
75+
},
76+
{
77+
type: "warning",
78+
text: "脚本",
79+
outline: true,
80+
},
81+
]}
82+
/>
83+
</ModuleInstall.Tab>
84+
<ModuleInstall.Tab type="stash">
85+
<ModuleInstall.Item
86+
url="DualSubs.Netflix.stoverride"
87+
badge={[
88+
{
89+
type: "info",
90+
text: "覆写",
91+
outline: true,
92+
},
93+
{
94+
type: "info",
95+
text: "MitM",
96+
outline: true,
97+
},
98+
{
99+
type: "info",
100+
text: "脚本",
101+
outline: true,
102+
},
103+
]}
104+
/>
105+
</ModuleInstall.Tab>
106+
<ModuleInstall.Tab type="egern">
107+
<ModuleInstall.Item
108+
url="DualSubs.Netflix.yaml"
109+
/>
110+
</ModuleInstall.Tab>
111+
<ModuleInstall.Tab type="qx">
112+
<ModuleInstall.Item
113+
url="DualSubs.Netflix.snippet"
114+
badge={[
115+
{
116+
type: "danger",
117+
text: "重写",
118+
outline: true,
119+
},
120+
{
121+
type: "tip",
122+
text: "MitM",
123+
outline: true,
124+
},
125+
]}
126+
/>
127+
</ModuleInstall.Tab>
128+
<ModuleInstall.Tab type="shadowrocket">
129+
<ModuleInstall.Item
130+
url="DualSubs.Netflix.srmodule"
131+
badge={[
132+
{
133+
type: "tip",
134+
text: "HTTPS 解密",
135+
outline: true,
136+
},
137+
]}
138+
/>
139+
</ModuleInstall.Tab>
140+
</ModuleInstall>
141+
59142
## 更新日志
60143
详见[🍿 DualSubs: 🔣 Universal#更新日志](./universal#更新日志)
61144

0 commit comments

Comments
 (0)