diff options
| author | ruki <[email protected]> | 2020-12-26 19:29:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-26 19:29:12 +0800 |
| commit | eda32624658ffb006d02b934dfb1e70e298a1ee6 (patch) | |
| tree | e48424c2ef2f394a0ff9805b693ab8a617d70b48 | |
| parent | 3f12aa4188f26396a0883ebd4ba0738a9f1dcefa (diff) | |
improve registry_values
| -rw-r--r-- | xmake/core/base/winos.lua | 2 |
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) |
