summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA2va <[email protected]>2024-05-24 23:31:42 +0200
committerA2va <[email protected]>2024-05-24 23:31:42 +0200
commit962077210503076c8a45a2fc214ef068bfa3cd31 (patch)
treedf328099fe0bc5eccf814f7044ad6c0a41913c56
parent6072e5322a07588331cace47edd6022910094691 (diff)
Fix raw wix cmd
-rw-r--r--xmake/plugins/pack/wix/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/wix/main.lua b/xmake/plugins/pack/wix/main.lua
index de5e52652..8fce6a2dc 100644
--- a/xmake/plugins/pack/wix/main.lua
+++ b/xmake/plugins/pack/wix/main.lua
@@ -130,7 +130,7 @@ function _get_other_commands(package, cmd, opt)
local subdirectory = dir ~= "." and string.format([[Subdirectory="%s"]], dir) or ""
result = string.format([[<CreateFolder Directory="INSTALLFOLDER" %s/>]], subdirectory)
elseif kind == "wix" then
- table.insert(result, cmd.rawstr)
+ result = cmd.rawstr
end
return result
end