summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/xpack.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-27 22:27:12 +0800
committerGitHub <[email protected]>2024-05-27 22:27:12 +0800
commit1dfee59408ad9b09feeaaa72fbc4d66fbfd4486e (patch)
tree7a8176d6943b49b00eb14e92703ce550f3e0b6d8 /xmake/plugins/pack/xpack.lua
parentd1c2095855bcf6633aeffac98c1b03bca0978f8a (diff)
parent1f81152c5bc78bab1cc460e8b3fcba174312a22b (diff)
Merge pull request #4788 from A2va/wixtoolset
Xpack: wix toolset support
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
-rw-r--r--xmake/plugins/pack/xpack.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua
index 0afc62868..ab48a99e6 100644
--- a/xmake/plugins/pack/xpack.lua
+++ b/xmake/plugins/pack/xpack.lua
@@ -190,6 +190,7 @@ function xpack:inputkind()
local inputkind = self:get("inputkind")
if inputkind == nil then
local inputkinds = {
+ wix = "binary",
nsis = "binary",
zip = "binary",
targz = "binary",
@@ -321,6 +322,7 @@ end
-- get the specfile path
function xpack:specfile()
local extensions = {
+ wix = ".wxs",
nsis = ".nsi",
srpm = ".spec",
rpm = ".spec",
@@ -335,6 +337,7 @@ function xpack:extension()
local extension = self:get("extension")
if extension == nil then
local extensions = {
+ wix = ".msi",
nsis = ".exe",
zip = ".zip",
targz = ".tar.gz",