summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2024-10-11 00:54:08 +0800
committerruki <[email protected]>2024-10-11 00:54:08 +0800
commitc189bb54bc616f219d7881c032a207fdaa385a17 (patch)
tree558bb98806ae93e5bd085a392578371628a5d807 /xmake/plugins
parent09ee92711986cb729d89c23c1802156bd335a602 (diff)
improve hash
Diffstat (limited to 'xmake/plugins')
-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..1b49da3b5 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.hash32(content)
end
-- translate the file path