diff options
| author | ruki <[email protected]> | 2024-05-28 22:24:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-05-28 22:24:59 +0800 |
| commit | eb4ad9b4c028807d8bfddff1a7834c0069ba49b3 (patch) | |
| tree | 503e669f1d0c69f39359c1448d4589a013009d04 | |
| parent | cff289b5f218a54217573d3bf9e5c01787413f7d (diff) | |
fix wix id
| -rw-r--r-- | xmake/plugins/pack/wix/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/wix/main.lua b/xmake/plugins/pack/wix/main.lua index cb8fd88cb..95b6a4a7f 100644 --- a/xmake/plugins/pack/wix/main.lua +++ b/xmake/plugins/pack/wix/main.lua @@ -192,7 +192,7 @@ function _build_feature(package, opt) for _, file in ipairs(files) do local srcfile = file[1] local dstname = file[2] - table.insert(result, string.format([[<File Source="%s" Name="%s" Id="%s"/>]], srcfile, dstname, _get_id(srcfile .. dstname))) + table.insert(result, string.format([[<File Source="%s" Name="%s" Id="%s"/>]], srcfile, dstname, _get_id())) end table.insert(result, "</Component>") end |
