From cef6d624a710e9a6d77d38c66d21ecbeb15b2ead Mon Sep 17 00:00:00 2001 From: lisonge Date: Wed, 3 Jan 2024 20:17:51 +0800 Subject: [PATCH] docs: matchLauncher --- src/types.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/types.ts b/src/types.ts index 994a3028..fed7b3b1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -269,6 +269,16 @@ type RawGlobalRuleProps = { * false => 仅匹配 apps 里面的 app */ matchAnyApp?: boolean; + + /** + * 默认值: `false` + * + * 是否匹配桌面, 仅全局规则可用 + * + * 如果你切换了桌面, 你需要打开 GKD 的界面触发识别新桌面 + */ + matchLauncher?: boolean; + apps?: RawGlobalApp[]; };