From 11e92282628f430bfc3fd06db5c44448efaf8879 Mon Sep 17 00:00:00 2001 From: mtkennerly Date: Sat, 9 Dec 2023 15:31:02 +0800 Subject: [PATCH] Support some undocumented variants of Path template arguments --- data/manifest.yaml | 4 ++++ src/wiki.rs | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/data/manifest.yaml b/data/manifest.yaml index 0ef52520..5bc7ff5c 100644 --- a/data/manifest.yaml +++ b/data/manifest.yaml @@ -91406,6 +91406,10 @@ Cats are Liquid: - when: - os: windows store: steam + registry: + HKEY_CURRENT_USER/SOFTWARE/LastQuarter Studios/Cats are Liquid: + tags: + - config steam: id: 498330 Cats are Liquid - A Better Place: diff --git a/src/wiki.rs b/src/wiki.rs index 0338d776..c9326817 100644 --- a/src/wiki.rs +++ b/src/wiki.rs @@ -795,6 +795,15 @@ static MAPPED_PATHS: Lazy> = Lazy::new(|| { ..Default::default() }, ), + ( + "hkey_current_user", + MappedPath { + manifest: "HKEY_CURRENT_USER", + os: Some(Os::Windows), + kind: Some(PathKind::Registry), + ..Default::default() + }, + ), ( "hklm", MappedPath { @@ -804,6 +813,15 @@ static MAPPED_PATHS: Lazy> = Lazy::new(|| { ..Default::default() }, ), + ( + "hkey_local_machine", + MappedPath { + manifest: "HKEY_LOCAL_MACHINE", + os: Some(Os::Windows), + kind: Some(PathKind::Registry), + ..Default::default() + }, + ), ( "wow64", MappedPath {