diff options
| author | ruki <[email protected]> | 2022-06-03 00:55:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-06-03 00:55:31 +0800 |
| commit | 8e5e0c6038239eae863341bcf060f6d0ae4e7348 (patch) | |
| tree | f98fdd93bd8d8d4338f38becaa55006e7b127ba5 /xmake/actions/config/menuconf.lua | |
| parent | 73eab3a212c5db9ca2f739ba4b4a3ab80e662072 (diff) | |
improve option/showmenu
Diffstat (limited to 'xmake/actions/config/menuconf.lua')
| -rw-r--r-- | xmake/actions/config/menuconf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/menuconf.lua b/xmake/actions/config/menuconf.lua index 94ec2782e..3d5d29123 100644 --- a/xmake/actions/config/menuconf.lua +++ b/xmake/actions/config/menuconf.lua @@ -302,7 +302,7 @@ function app:_project_configs(cache) local keys = table.orderkeys(options) for _, key in ipairs(keys) do local opt = options[key] - if opt:get("showmenu") then + if opt:get("showmenu") ~= false then local category = "." if opt:get("category") then category = table.unwrap(opt:get("category")) end options_by_category[category] = options_by_category[category] or {} |
