mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix Mikero tools detection not looking at Wow6432Node
This commit is contained in:
parent
2aaef9e791
commit
57da8c3ad0
@ -239,8 +239,16 @@ def find_depbo_tools():
|
||||
k = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r"Software\Mikero\{}".format(tool))
|
||||
path = winreg.QueryValueEx(k, "exe")[0]
|
||||
except FileNotFoundError:
|
||||
k = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"Software\Mikero\{}".format(tool))
|
||||
path = winreg.QueryValueEx(k, "exe")[0]
|
||||
try:
|
||||
k = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"Software\Mikero\{}".format(tool))
|
||||
path = winreg.QueryValueEx(k, "exe")[0]
|
||||
except FileNotFoundError:
|
||||
try:
|
||||
k = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r"Software\Wow6432Node\Mikero\{}".format(tool))
|
||||
path = winreg.QueryValueEx(k, "exe")[0]
|
||||
except FileNotFoundError:
|
||||
k = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"Software\Wow6432Node\Mikero\{}".format(tool))
|
||||
path = winreg.QueryValueEx(k, "exe")[0]
|
||||
except FileNotFoundError:
|
||||
print_error("Could not find {}".format(tool))
|
||||
failed = True
|
||||
|
Loading…
Reference in New Issue
Block a user