@gkd-kit/docs 0.0.1719073114309 → 0.0.1719074167276
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/.vitepress/dist/404.html +4 -4
- package/.vitepress/dist/api/index.html +7 -7
- package/.vitepress/dist/api/interfaces/RawApp.html +7 -7
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +7 -7
- package/.vitepress/dist/api/interfaces/RawAppRule.html +7 -7
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawCategory.html +7 -7
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawSubscription.html +7 -7
- package/.vitepress/dist/api/type-aliases/IArray.html +7 -7
- package/.vitepress/dist/api/type-aliases/Integer.html +7 -7
- package/.vitepress/dist/api/type-aliases/Position.html +7 -7
- package/.vitepress/dist/assets/{app.C64QcTSx.js → app.DL5uKo3X.js} +1 -1
- package/.vitepress/dist/assets/chunks/{@localSearchIndexroot.0XsIOVMB.js → @localSearchIndexroot.BK9CwZIX.js} +1 -1
- package/.vitepress/dist/assets/chunks/{VPLocalSearchBox.T3UPu6x9.js → VPLocalSearchBox.D_8Cmi4g.js} +2 -2
- package/.vitepress/dist/assets/chunks/{theme.Nc1B0uCn.js → theme.DpyV6E4V.js} +1 -1
- package/.vitepress/dist/assets/{faq_index.md.HeStiVle.js → faq_index.md.aU8dXF6y.js} +1 -1
- package/.vitepress/dist/assets/{faq_index.md.HeStiVle.lean.js → faq_index.md.aU8dXF6y.lean.js} +1 -1
- package/.vitepress/dist/assets/guide_index.md.BwobDzwc.js +1 -0
- package/.vitepress/dist/assets/guide_index.md.BwobDzwc.lean.js +1 -0
- package/.vitepress/dist/assets/{index.md.CLu74n4G.js → index.md.CiYiiZKk.js} +1 -1
- package/.vitepress/dist/assets/{index.md.CLu74n4G.lean.js → index.md.CiYiiZKk.lean.js} +1 -1
- package/.vitepress/dist/assets/{selector_index.md.D9wTpOfa.js → selector_index.md.Cb4lL5w_.js} +1 -1
- package/.vitepress/dist/assets/{selector_index.md.D9wTpOfa.lean.js → selector_index.md.Cb4lL5w_.lean.js} +1 -1
- package/.vitepress/dist/assets/style.BM63d2lR.css +1 -1
- package/.vitepress/dist/assets/{subscription_index.md.R2xBKUO-.js → subscription_index.md.5xwfHUbs.js} +1 -1
- package/.vitepress/dist/assets/{subscription_index.md.R2xBKUO-.lean.js → subscription_index.md.5xwfHUbs.lean.js} +1 -1
- package/.vitepress/dist/faq/index.html +8 -8
- package/.vitepress/dist/guide/index.html +8 -8
- package/.vitepress/dist/hashmap.json +1 -1
- package/.vitepress/dist/index.html +7 -7
- package/.vitepress/dist/selector/index.html +8 -8
- package/.vitepress/dist/subscription/index.html +8 -8
- package/package.json +1 -1
- package/.vitepress/dist/assets/guide_index.md.CcbWhPKU.js +0 -1
- package/.vitepress/dist/assets/guide_index.md.CcbWhPKU.lean.js +0 -1
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>高级选择器 | GKD</title>
|
|
7
7
|
<meta name="description" content="自定义屏幕点击应用">
|
|
8
8
|
<meta name="generator" content="VitePress v1.1.3">
|
|
9
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
9
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/style.BM63d2lR.css" as="style">
|
|
10
10
|
|
|
11
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
13
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
14
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
15
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
11
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/app.DL5uKo3X.js"></script>
|
|
12
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin>
|
|
13
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/chunks/framework.clGm--7Y.js">
|
|
14
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/chunks/theme.DpyV6E4V.js">
|
|
15
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/selector_index.md.Cb4lL5w_.lean.js">
|
|
16
16
|
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg">
|
|
17
17
|
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
18
18
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> matches</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'TextView[text~="</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">\\\\\\\\</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"]'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
30
30
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>实现和上面相同的结果, 即用 <code>=</code> 匹配一个 <code>\</code> 字符, 最终规则应该写成</p><div class="language-json5 vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json5</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
31
31
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> matches</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'TextView[text="</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">\\\\</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"]'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
32
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>类似的问题 <a href="https://github.com/gkd-kit/gkd/issues/603" target="_blank" rel="noreferrer">gkd-kit/gkd#603</a></p></div></div></main><footer class="VPDocFooter" data-v-15e078dd data-v-3d4b5e4a><!--[--><!--]--><div class="edit-info" data-v-3d4b5e4a><div class="edit-link" data-v-3d4b5e4a><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/selector/index.md" target="_blank" rel="noreferrer" data-v-3d4b5e4a><!--[--><span class="vpi-square-pen edit-link-icon" data-v-3d4b5e4a></span> 为此页提供修改建议<!--]--></a></div><div class="last-updated" data-v-3d4b5e4a><p class="VPLastUpdated" data-v-3d4b5e4a data-v-c4ebbedc>最后更新于: <time datetime="2024-06-22T16:
|
|
33
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"
|
|
32
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>类似的问题 <a href="https://github.com/gkd-kit/gkd/issues/603" target="_blank" rel="noreferrer">gkd-kit/gkd#603</a></p></div></div></main><footer class="VPDocFooter" data-v-15e078dd data-v-3d4b5e4a><!--[--><!--]--><div class="edit-info" data-v-3d4b5e4a><div class="edit-link" data-v-3d4b5e4a><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/selector/index.md" target="_blank" rel="noreferrer" data-v-3d4b5e4a><!--[--><span class="vpi-square-pen edit-link-icon" data-v-3d4b5e4a></span> 为此页提供修改建议<!--]--></a></div><div class="last-updated" data-v-3d4b5e4a><p class="VPLastUpdated" data-v-3d4b5e4a data-v-c4ebbedc>最后更新于: <time datetime="2024-06-22T16:35:44.000Z" data-v-c4ebbedc></time></p></div></div><nav class="prev-next" data-v-3d4b5e4a><div class="pager" data-v-3d4b5e4a><a class="VPLink link pager-link prev" href="/guide/" data-v-3d4b5e4a><!--[--><span class="desc" data-v-3d4b5e4a>上一篇</span><span class="title" data-v-3d4b5e4a>开始使用</span><!--]--></a></div><div class="pager" data-v-3d4b5e4a><a class="VPLink link pager-link next" href="/subscription/" data-v-3d4b5e4a><!--[--><span class="desc" data-v-3d4b5e4a>下一篇</span><span class="title" data-v-3d4b5e4a>订阅规则</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-85fc2a73 data-v-53d9de6b><div class="container" data-v-53d9de6b><p class="message" data-v-53d9de6b>Released under the GPL-v3 License.</p><p class="copyright" data-v-53d9de6b>Copyright © 2024 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div></div>
|
|
33
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_type-aliases_position.md\":\"qJyyaDP6\",\"api_interfaces_rawappruleprops.md\":\"C_Lr7qrT\",\"api_interfaces_rawappgroup.md\":\"C33JkI_D\",\"index.md\":\"CiYiiZKk\",\"guide_index.md\":\"BwobDzwc\",\"api_interfaces_rawapp.md\":\"JuMOId3h\",\"subscription_index.md\":\"5xwfHUbs\",\"api_interfaces_rawglobalapp.md\":\"CCc1R6pz\",\"api_interfaces_rawsubscription.md\":\"Cz9K1wkj\",\"api_interfaces_rawglobalruleprops.md\":\"D-CtCTHV\",\"api_type-aliases_integer.md\":\"scVDRZuk\",\"selector_index.md\":\"Cb4lL5w_\",\"api_type-aliases_iarray.md\":\"CP0181Bu\",\"api_index.md\":\"4ccPi_ZZ\",\"api_interfaces_rawglobalrule.md\":\"BCMr3k_N\",\"api_interfaces_rawgroupprops.md\":\"DG4T80Dd\",\"api_interfaces_rawcommonprops.md\":\"CWJwfhiQ\",\"api_interfaces_rawglobalgroup.md\":\"BmaW8-Ss\",\"api_interfaces_rawapprule.md\":\"BtiA0bcN\",\"faq_index.md\":\"aU8dXF6y\",\"api_interfaces_rawruleprops.md\":\"CRh5KyPR\",\"api_interfaces_rawcategory.md\":\"BqxO20ig\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"lastUpdatedText\":\"最后更新于\",\"outline\":\"deep\",\"docFooter\":{\"prev\":\"上一篇\",\"next\":\"下一篇\"},\"returnToTopLabel\":\"返回顶部\",\"outlineTitle\":\"导航栏\",\"darkModeSwitchLabel\":\"外观\",\"sidebarMenuLabel\":\"归档\",\"nav\":[{\"text\":\"首页\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/api/\"}],\"sidebar\":[{\"text\":\"指引\",\"items\":[{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"高级选择器\",\"link\":\"/selector/\"},{\"text\":\"订阅规则\",\"link\":\"/subscription/\"},{\"text\":\"疑难解答\",\"link\":\"/faq/\"}]},{\"text\":\"API\",\"link\":\"/api/\",\"collapsed\":true,\"items\":[{\"text\":\"Interfaces\",\"collapsed\":true,\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"collapsed\":true,\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]}],\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/docs/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\",\"options\":{}},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2024 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
|
|
34
34
|
|
|
35
35
|
</body>
|
|
36
36
|
</html>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>订阅规则 | GKD</title>
|
|
7
7
|
<meta name="description" content="自定义屏幕点击应用">
|
|
8
8
|
<meta name="generator" content="VitePress v1.1.3">
|
|
9
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
9
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/style.BM63d2lR.css" as="style">
|
|
10
10
|
|
|
11
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
13
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
14
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
15
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
11
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/app.DL5uKo3X.js"></script>
|
|
12
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin>
|
|
13
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/chunks/framework.clGm--7Y.js">
|
|
14
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/chunks/theme.DpyV6E4V.js">
|
|
15
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1719074167276/files/.vitepress/dist/assets/subscription_index.md.5xwfHUbs.lean.js">
|
|
16
16
|
<link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg">
|
|
17
17
|
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
18
18
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> snapshotUrls</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'https://i.gkd.li/i/13070251'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">],</span></span>
|
|
42
42
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
|
|
43
43
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ],</span></span>
|
|
44
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>TODO</p></div></div></main><footer class="VPDocFooter" data-v-15e078dd data-v-3d4b5e4a><!--[--><!--]--><div class="edit-info" data-v-3d4b5e4a><div class="edit-link" data-v-3d4b5e4a><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/subscription/index.md" target="_blank" rel="noreferrer" data-v-3d4b5e4a><!--[--><span class="vpi-square-pen edit-link-icon" data-v-3d4b5e4a></span> 为此页提供修改建议<!--]--></a></div><div class="last-updated" data-v-3d4b5e4a><p class="VPLastUpdated" data-v-3d4b5e4a data-v-c4ebbedc>最后更新于: <time datetime="2024-06-22T16:
|
|
45
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"
|
|
44
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>TODO</p></div></div></main><footer class="VPDocFooter" data-v-15e078dd data-v-3d4b5e4a><!--[--><!--]--><div class="edit-info" data-v-3d4b5e4a><div class="edit-link" data-v-3d4b5e4a><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/docs/subscription/index.md" target="_blank" rel="noreferrer" data-v-3d4b5e4a><!--[--><span class="vpi-square-pen edit-link-icon" data-v-3d4b5e4a></span> 为此页提供修改建议<!--]--></a></div><div class="last-updated" data-v-3d4b5e4a><p class="VPLastUpdated" data-v-3d4b5e4a data-v-c4ebbedc>最后更新于: <time datetime="2024-06-22T16:35:44.000Z" data-v-c4ebbedc></time></p></div></div><nav class="prev-next" data-v-3d4b5e4a><div class="pager" data-v-3d4b5e4a><a class="VPLink link pager-link prev" href="/selector/" data-v-3d4b5e4a><!--[--><span class="desc" data-v-3d4b5e4a>上一篇</span><span class="title" data-v-3d4b5e4a>高级选择器</span><!--]--></a></div><div class="pager" data-v-3d4b5e4a><a class="VPLink link pager-link next" href="/faq/" data-v-3d4b5e4a><!--[--><span class="desc" data-v-3d4b5e4a>下一篇</span><span class="title" data-v-3d4b5e4a>疑难解答</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-85fc2a73 data-v-53d9de6b><div class="container" data-v-53d9de6b><p class="message" data-v-53d9de6b>Released under the GPL-v3 License.</p><p class="copyright" data-v-53d9de6b>Copyright © 2024 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div></div>
|
|
45
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_type-aliases_position.md\":\"qJyyaDP6\",\"api_interfaces_rawappruleprops.md\":\"C_Lr7qrT\",\"api_interfaces_rawappgroup.md\":\"C33JkI_D\",\"index.md\":\"CiYiiZKk\",\"guide_index.md\":\"BwobDzwc\",\"api_interfaces_rawapp.md\":\"JuMOId3h\",\"subscription_index.md\":\"5xwfHUbs\",\"api_interfaces_rawglobalapp.md\":\"CCc1R6pz\",\"api_interfaces_rawsubscription.md\":\"Cz9K1wkj\",\"api_interfaces_rawglobalruleprops.md\":\"D-CtCTHV\",\"api_type-aliases_integer.md\":\"scVDRZuk\",\"selector_index.md\":\"Cb4lL5w_\",\"api_type-aliases_iarray.md\":\"CP0181Bu\",\"api_index.md\":\"4ccPi_ZZ\",\"api_interfaces_rawglobalrule.md\":\"BCMr3k_N\",\"api_interfaces_rawgroupprops.md\":\"DG4T80Dd\",\"api_interfaces_rawcommonprops.md\":\"CWJwfhiQ\",\"api_interfaces_rawglobalgroup.md\":\"BmaW8-Ss\",\"api_interfaces_rawapprule.md\":\"BtiA0bcN\",\"faq_index.md\":\"aU8dXF6y\",\"api_interfaces_rawruleprops.md\":\"CRh5KyPR\",\"api_interfaces_rawcategory.md\":\"BqxO20ig\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"lastUpdatedText\":\"最后更新于\",\"outline\":\"deep\",\"docFooter\":{\"prev\":\"上一篇\",\"next\":\"下一篇\"},\"returnToTopLabel\":\"返回顶部\",\"outlineTitle\":\"导航栏\",\"darkModeSwitchLabel\":\"外观\",\"sidebarMenuLabel\":\"归档\",\"nav\":[{\"text\":\"首页\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/api/\"}],\"sidebar\":[{\"text\":\"指引\",\"items\":[{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"高级选择器\",\"link\":\"/selector/\"},{\"text\":\"订阅规则\",\"link\":\"/subscription/\"},{\"text\":\"疑难解答\",\"link\":\"/faq/\"}]},{\"text\":\"API\",\"link\":\"/api/\",\"collapsed\":true,\"items\":[{\"text\":\"Interfaces\",\"collapsed\":true,\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"collapsed\":true,\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]}],\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/docs/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\",\"options\":{}},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2024 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
|
|
46
46
|
|
|
47
47
|
</body>
|
|
48
48
|
</html>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as u,G as d,h as _,k as m,o as i,c,l as t,t as k,n as f,e as v,a as o,I as b,a4 as x}from"./chunks/framework.clGm--7Y.js";const w={"inline-flex":"","items-center":"","gap-10px":""},y={key:0,"animate-spin":"","size-16px":"",viewBox:"0 0 16 16",fill:"none"},U=t("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor","stroke-opacity":"0.25","stroke-width":"2","vector-effect":"non-scaling-stroke"},null,-1),S=t("path",{d:"M15 8a7.002 7.002 0 00-7-7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","vector-effect":"non-scaling-stroke"},null,-1),C=[U,S],N=u({__name:"ApkDownloadButton",setup(p){const e=d(""),r=_(()=>(e.value.split("/").at(-1)||"").replace(".wasm",".apk")),a=d(!1),h=async()=>{if(!e.value||a.value)return;a.value=!0;const n=await fetch(e.value).then(g=>g.blob()).finally(()=>{a.value=!1}),l=URL.createObjectURL(n),s=document.createElement("a");s.download=r.value,s.href=l,s.click()};return m(async()=>{e.value=localStorage.getItem("apkUrl")||"";const l=await fetch("https://registry.npmmirror.com/@gkd-kit/app/latest/files").then(s=>s.json());e.value=new URL(l.downloadUrl,l.url).href,localStorage.setItem("apkUrl",e.value)}),(n,l)=>(i(),c("div",w,[t("a",{class:f({"cursor-progress":a.value,"opacity-50":a.value,"cursor-pointer":!a.value}),onClick:h},k(r.value),3),a.value?(i(),c("svg",y,C)):v("",!0)]))}}),A=t("h1",{id:"title",tabindex:"-1"},[o("开始使用 "),t("a",{class:"header-anchor",href:"#title","aria-label":'Permalink to "开始使用 {#title}"'},"")],-1),D=t("h2",{id:"install",tabindex:"-1"},[o("下载安装 "),t("a",{class:"header-anchor",href:"#install","aria-label":'Permalink to "下载安装 {#install}"'},"")],-1),P=t("li",null,[t("p",null,[o("Github "),t("a",{href:"https://github.com/gkd-kit/gkd/releases/latest",target:"_blank",rel:"noreferrer"},"releases")])],-1),T=x('<p>下载完毕后, 在您的 Android 手机上安装并打开</p><h2 id="usage" tabindex="-1">授权使用 <a class="header-anchor" href="#usage" aria-label="Permalink to "授权使用 {#usage}""></a></h2><p>打开后进入 GKD 的首页, 要想 GKD 正常工作需要授权无障碍权限</p><p>点击无障碍权限右侧的 <code>授权</code> 按钮即可前往设置的无障碍界面授权</p><p>以 Xiaomi HyperOS 为例, 下面为完整的授权流程截图</p><table><thead><tr><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td><img src="https://registry.npmmirror.com/@gkd-kit/assets/0.0.6/files/assets/0001.png" alt="image"></td><td><img src="https://registry.npmmirror.com/@gkd-kit/assets/0.0.6/files/assets/0002.png" alt="image"></td><td><img src="https://registry.npmmirror.com/@gkd-kit/assets/0.0.6/files/assets/0003.png" alt="image"></td><td><img src="https://registry.npmmirror.com/@gkd-kit/assets/0.0.6/files/assets/0004.png" alt="image"></td></tr><tr><td><img src="https://registry.npmmirror.com/@gkd-kit/assets/0.0.6/files/assets/0005.png" alt="image"></td><td><img src="https://registry.npmmirror.com/@gkd-kit/assets/0.0.6/files/assets/0006.png" alt="image"></td><td><img src="https://registry.npmmirror.com/@gkd-kit/assets/0.0.6/files/assets/0007.png" alt="image"></td><td><img src="https://registry.npmmirror.com/@gkd-kit/assets/0.0.6/files/assets/0008.png" alt="image"></td></tr></tbody></table><p>如果您的手机的无障碍列表界面无法授权 GKD 或者显示 <code>受限制的设置(出于安全考虑,此设置目前不可用)</code></p><p>这是 Android13 的限制, 对于不在应用商店等可信任来源安装的应用不能直接开启无障碍权限</p><p>您需要解除这个限制, 解除限制的方法在 <a href="/faq/">疑难解答</a></p><p>限制解除后, 重新按照上面的授权流程即可开启无障碍权限</p>',10),G=JSON.parse('{"title":"开始使用","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md","lastUpdated":1719073090000}'),V={name:"guide/index.md"},I=Object.assign(V,{setup(p){return(e,r)=>(i(),c("div",null,[A,D,t("ul",null,[t("li",null,[t("p",null,[o("镜像加速 "),b(N)])]),P]),T]))}});export{G as __pageData,I as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as u,G as d,h as _,k as m,o as i,c,l as t,t as k,n as f,e as v,a as o,I as b,a4 as x}from"./chunks/framework.clGm--7Y.js";const w={"inline-flex":"","items-center":"","gap-10px":""},y={key:0,"animate-spin":"","size-16px":"",viewBox:"0 0 16 16",fill:"none"},U=t("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor","stroke-opacity":"0.25","stroke-width":"2","vector-effect":"non-scaling-stroke"},null,-1),S=t("path",{d:"M15 8a7.002 7.002 0 00-7-7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","vector-effect":"non-scaling-stroke"},null,-1),C=[U,S],N=u({__name:"ApkDownloadButton",setup(p){const e=d(""),r=_(()=>(e.value.split("/").at(-1)||"").replace(".wasm",".apk")),a=d(!1),h=async()=>{if(!e.value||a.value)return;a.value=!0;const n=await fetch(e.value).then(g=>g.blob()).finally(()=>{a.value=!1}),l=URL.createObjectURL(n),s=document.createElement("a");s.download=r.value,s.href=l,s.click()};return m(async()=>{e.value=localStorage.getItem("apkUrl")||"";const l=await fetch("https://registry.npmmirror.com/@gkd-kit/app/latest/files").then(s=>s.json());e.value=new URL(l.downloadUrl,l.url).href,localStorage.setItem("apkUrl",e.value)}),(n,l)=>(i(),c("div",w,[t("a",{class:f({"cursor-progress":a.value,"opacity-50":a.value,"cursor-pointer":!a.value}),onClick:h},k(r.value),3),a.value?(i(),c("svg",y,C)):v("",!0)]))}}),A=t("h1",{id:"title",tabindex:"-1"},[o("开始使用 "),t("a",{class:"header-anchor",href:"#title","aria-label":'Permalink to "开始使用 {#title}"'},"")],-1),D=t("h2",{id:"install",tabindex:"-1"},[o("下载安装 "),t("a",{class:"header-anchor",href:"#install","aria-label":'Permalink to "下载安装 {#install}"'},"")],-1),P=t("li",null,[t("p",null,[o("Github "),t("a",{href:"https://github.com/gkd-kit/gkd/releases/latest",target:"_blank",rel:"noreferrer"},"releases")])],-1),T=x("",10),G=JSON.parse('{"title":"开始使用","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md","lastUpdated":1719073090000}'),V={name:"guide/index.md"},I=Object.assign(V,{setup(p){return(e,r)=>(i(),c("div",null,[A,D,t("ul",null,[t("li",null,[t("p",null,[o("镜像加速 "),b(N)])]),P]),T]))}});export{G as __pageData,I as default};
|