diff options
| author | Saikari <[email protected]> | 2026-01-31 19:29:14 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-01-31 19:29:14 +0300 |
| commit | b56818e7a2f96f1750545deda8a0e7bae53baf68 (patch) | |
| tree | f836decc7abfd726c1168e28eccad62cd7ed0e1a /xmake/core/base/winos.lua | |
| parent | e494d44263b18e2981cb35041817b052a2bdda6a (diff) | |
add process retrieval for Windows in tty and winos modules
Diffstat (limited to 'xmake/core/base/winos.lua')
| -rw-r--r-- | xmake/core/base/winos.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/base/winos.lua b/xmake/core/base/winos.lua index 73657662e..9d786fdfc 100644 --- a/xmake/core/base/winos.lua +++ b/xmake/core/base/winos.lua @@ -31,6 +31,7 @@ winos._oem_cp = winos._oem_cp or winos.oem_cp winos._registry_query = winos._registry_query or winos.registry_query winos._registry_keys = winos._registry_keys or winos.registry_keys winos._registry_values = winos._registry_values or winos.registry_values +winos._processes = winos._processes or winos.processes function winos.ansi_cp() if not winos._ANSI_CP then @@ -46,6 +47,10 @@ function winos.oem_cp() return winos._OEM_CP end +if not winos.processes then + winos.processes = winos._processes +end + -- get windows version from name function winos._version_from_name(name) winos._VERSIONS = winos._VERSIONS or { |
