From eda32624658ffb006d02b934dfb1e70e298a1ee6 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 26 Dec 2020 19:29:12 +0800 Subject: improve registry_values --- xmake/core/base/winos.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/base/winos.lua b/xmake/core/base/winos.lua index d7cc081a9..59c705708 100644 --- a/xmake/core/base/winos.lua +++ b/xmake/core/base/winos.lua @@ -328,7 +328,7 @@ function winos.registry_values(keypath) local value_names = {} local count, errors = winos._registry_values(rootkey, rootdir, function (value_name) if not pattern or value_name:match("^" .. pattern .. "$") then - table.insert(value_names, value_name) + table.insert(value_names, rootkey .. "\\" .. rootdir .. ";" .. value_name) end return true end) -- cgit v1.3.1