summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack
diff options
context:
space:
mode:
authorruki <[email protected]>2024-10-11 09:47:50 +0800
committerGitHub <[email protected]>2024-10-11 09:47:50 +0800
commitfdf11786de46222d61403280e68fdf3cd5d572e3 (patch)
tree2ca27997b3796f5600ace902e4cc63b24283c309 /xmake/plugins/pack
parent687beddbf316b1565a55b68934c3681320a1d51f (diff)
parentbae6c8f0ecbcebe57d77cb88fd8648373193f28b (diff)
Merge pull request #5703 from xmake-io/hash
Improve hash
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 4ab5f8d8e..64c002042 100644
--- a/xmake/plugins/pack/nsis/main.lua
+++ b/xmake/plugins/pack/nsis/main.lua
@@ -83,7 +83,7 @@ end
-- get unique tag
function _get_unique_tag(content)
- return hash.uuid(content):split("-", {plain = true})[1]:lower()
+ return hash.strhash32(content)
end
-- translate the file path