diff options
| author | ruki <[email protected]> | 2020-09-28 23:09:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-28 23:09:23 +0800 |
| commit | 0c52f3a6ab4397c5be94c3293f4ae20d6b7a8b94 (patch) | |
| tree | c6bacf9de25b6af942b5e7ac83bca8aa3cf1e5ce /xmake/modules/detect/tools/find_python3.lua | |
| parent | 34e395ad9281d17382b1d1c5a4e7828a259720f0 (diff) | |
rename some pathes to paths
Diffstat (limited to 'xmake/modules/detect/tools/find_python3.lua')
| -rw-r--r-- | xmake/modules/detect/tools/find_python3.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/modules/detect/tools/find_python3.lua b/xmake/modules/detect/tools/find_python3.lua index df3daff49..3e5642aef 100644 --- a/xmake/modules/detect/tools/find_python3.lua +++ b/xmake/modules/detect/tools/find_python3.lua @@ -40,11 +40,11 @@ function main(opt) -- init options opt = opt or {} if is_host("windows") then - opt.pathes = opt.pathes or {} - table.insert(opt.pathes, "$(reg HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\3.7\\InstallPath;ExecutablePath)") - table.insert(opt.pathes, "$(reg HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\3.7-32\\InstallPath;ExecutablePath)") - table.insert(opt.pathes, "$(reg HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\3.6\\InstallPath;ExecutablePath)") - table.insert(opt.pathes, "$(reg HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\3.6-32\\InstallPath;ExecutablePath)") + opt.paths = opt.paths or {} + table.insert(opt.paths, "$(reg HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\3.7\\InstallPath;ExecutablePath)") + table.insert(opt.paths, "$(reg HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\3.7-32\\InstallPath;ExecutablePath)") + table.insert(opt.paths, "$(reg HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\3.6\\InstallPath;ExecutablePath)") + table.insert(opt.paths, "$(reg HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\3.6-32\\InstallPath;ExecutablePath)") end -- find program |
