aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat
index 1929ab75..053fdfd6 100644
--- a/install.bat
+++ b/install.bat
@@ -427,7 +427,7 @@ end
427-- get a string value from windows registry. 427-- get a string value from windows registry.
428local function get_registry(key, value) 428local function get_registry(key, value)
429 local keys = {key} 429 local keys = {key}
430 local key64, replaced = key:gsub("(%u+\\Software\\)", "\1Wow6432Node\\", 1) 430 local key64, replaced = key:gsub("(%u+\\Software\\)", "%1Wow6432Node\\", 1)
431 431
432 if replaced == 1 then 432 if replaced == 1 then
433 keys = {key64, key} 433 keys = {key64, key}