summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/xpack.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-17 23:30:30 +0800
committerruki <[email protected]>2023-11-17 23:30:30 +0800
commit0accb1d4f09cc780bbb16ea510f791f8354ee741 (patch)
tree786529a1229992b92ac59a05f7bf48f4e46e6450 /xmake/plugins/pack/xpack.lua
parent42030c6ef77d2cdb5dfd1e809eff448f761d36a7 (diff)
add pack archive stub
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
-rw-r--r--xmake/plugins/pack/xpack.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua
index 745d8f9f7..4d32d6c08 100644
--- a/xmake/plugins/pack/xpack.lua
+++ b/xmake/plugins/pack/xpack.lua
@@ -323,7 +323,8 @@ end
-- get the output filename
function xpack:filename()
local extensions = {
- nsis = ".exe"
+ nsis = ".exe",
+ zip = ".zip"
}
local extension = extensions[self:format()] or ""
return self:basename() .. extension