From c189bb54bc616f219d7881c032a207fdaa385a17 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 11 Oct 2024 00:54:08 +0800 Subject: improve hash --- xmake/plugins/pack/nsis/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/plugins') 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 -- cgit v1.3.1