diff options
| author | ruki <[email protected]> | 2024-08-05 10:47:31 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-05 10:47:31 +0800 |
| commit | 9e32bd42056cb4b2fbe5785d103502fd29dbcf38 (patch) | |
| tree | d2320a9bec9867c6818dff772e086224ea8f369a | |
| parent | 7fe987584a46e774bf6cf0b0d56a52b5fbcc85c7 (diff) | |
Update 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 d0777325f..4ab5f8d8e 100644 --- a/xmake/plugins/pack/nsis/main.lua +++ b/xmake/plugins/pack/nsis/main.lua @@ -268,7 +268,7 @@ function _pack_nsis(makensis, package) local specvars_values = {} io.gsub(specfile, "(" .. pattern .. ")", function(_, name) table.insert(specvars_names, name) - end,{encoding="ansi"}) + end, {encoding = "ansi"}) for _, name in ipairs(specvars_names) do name = name:trim() if specvars_values[name] == nil then @@ -288,7 +288,7 @@ function _pack_nsis(makensis, package) io.gsub(specfile, "(" .. pattern .. ")", function(_, name) name = name:trim() return specvars_values[name] - end, {encoding="ansi"}) + end, {encoding = "ansi"}) -- make package os.vrunv(makensis, {specfile}) |
