summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-11 23:04:34 +0800
committerruki <[email protected]>2023-11-11 23:04:34 +0800
commitf23af7855d5d5d2b2126dd67db0de04e05836c12 (patch)
treee20995fccac60bf3977331f6293b2622ef562f86 /xmake/plugins/pack
parentfa0ffa6f9266cc6123671c408d09cef210c8448c (diff)
improve nsis spec
Diffstat (limited to 'xmake/plugins/pack')
-rw-r--r--xmake/plugins/pack/nsis/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/nsis/main.lua b/xmake/plugins/pack/nsis/main.lua
index d30559402..920f447ae 100644
--- a/xmake/plugins/pack/nsis/main.lua
+++ b/xmake/plugins/pack/nsis/main.lua
@@ -80,7 +80,7 @@ function _pack_nsis(makensis, package, opt)
table.insert(argv, "/DMINOR=" .. version:minor())
end
if version:patch() then
- table.insert(argv, "/DALTER=" .. version:patch())
+ table.insert(argv, "/DPATCH=" .. version:patch())
end
if version_build then
table.insert(argv, "/DBUILD=" .. version_build)