summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-26 19:29:12 +0800
committerruki <[email protected]>2020-12-26 19:29:12 +0800
commiteda32624658ffb006d02b934dfb1e70e298a1ee6 (patch)
treee48424c2ef2f394a0ff9805b693ab8a617d70b48
parent3f12aa4188f26396a0883ebd4ba0738a9f1dcefa (diff)
improve registry_values
-rw-r--r--xmake/core/base/winos.lua2
1 files changed, 1 insertions, 1 deletions
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)