diff options
| author | ruki <[email protected]> | 2023-11-15 23:39:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-15 23:39:08 +0800 |
| commit | 355df6fd41db138b340dee56248f8c3fe0dcc75f (patch) | |
| tree | cb65f33b54de72ad3e275060437dd10c37c6ae98 /xmake/includes/xpack/xmake.lua | |
| parent | 3e5f3c41e0eebf9103118b5127a0b78f5df6873f (diff) | |
add nsis sections
Diffstat (limited to 'xmake/includes/xpack/xmake.lua')
| -rw-r--r-- | xmake/includes/xpack/xmake.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xmake/includes/xpack/xmake.lua b/xmake/includes/xpack/xmake.lua index 5314e90ea..a8ce5f0fb 100644 --- a/xmake/includes/xpack/xmake.lua +++ b/xmake/includes/xpack/xmake.lua @@ -79,7 +79,14 @@ local apis = { }, keyvalues = { -- set the spec variable - "xpack.set_specvar" + "xpack.set_specvar", + -- add nsis sections, e.g. + --[[ + add_nsis_sections("Enable Long Path", + 'WriteRegDWORD ${HKLM} "SYSTEM\CurrentControlSet\Control\FileSystem" "LongPathsEnabled" 1', + {description = "Increases the maximum path length limit, up to 32,767 characters (before 256)."}) + --]] + "xpack.add_nsis_sections" } } interp_add_scopeapis(apis) |
