diff options
| author | ruki <[email protected]> | 2023-11-17 23:39:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-17 23:39:49 +0800 |
| commit | 08aa2aa500c79d8683629c5861beeebd99683213 (patch) | |
| tree | e767826daf19c136fe8ca5ad04a68690b4960045 /xmake/plugins/pack/nsis/main.lua | |
| parent | eed21f73a71d6e77f939db7c3404b3cd60bfb36b (diff) | |
improve batchcmds
Diffstat (limited to 'xmake/plugins/pack/nsis/main.lua')
| -rw-r--r-- | xmake/plugins/pack/nsis/main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/pack/nsis/main.lua b/xmake/plugins/pack/nsis/main.lua index 1435d1107..6b9d2961f 100644 --- a/xmake/plugins/pack/nsis/main.lua +++ b/xmake/plugins/pack/nsis/main.lua @@ -120,12 +120,12 @@ end -- get install commands function _get_installcmds(package) - return _get_commands_string(package, batchcmds.get_installcmds(package), {install = true}) + return _get_commands_string(package, batchcmds.get_installcmds(package):cmds(), {install = true}) end -- get uninstall commands function _get_uninstallcmds(package) - return _get_commands_string(package, batchcmds.get_uninstallcmds(package), {install = false}) + return _get_commands_string(package, batchcmds.get_uninstallcmds(package):cmds(), {install = false}) end -- get value and filter it |
