diff options
| author | Saikari <[email protected]> | 2026-02-16 00:13:28 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-16 00:13:28 +0300 |
| commit | 0d4a4234f59f92c13b9b63284324b66eef1313c2 (patch) | |
| tree | 2feeb7ef4223e3cd680e78c5832097250bd327ae | |
| parent | af2c806cc9a2ea513a61179b86e9a7333c82ae21 (diff) | |
wrap find_program
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/detect/find_program.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua index 5040802a9..42c1a80d7 100644 --- a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua +++ b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua @@ -43,7 +43,7 @@ function sandbox_lib_detect_find_program._do_check(program, opt) -- avoid gcc.exe signed by GIGA-BYTE if winos.file_signature and program:lower():match("gcc%.exe") then local signer = winos.file_signature(program) - if signer and signer.signer and signer.signer:find("GIGA-BYTE", 1, true) then + if signer and signer.signer_name and signer.signer_name:find("GIGA-BYTE", 1, true) then return false end end |
