From e27dbd4eb9323ece29dc34d5d200e24b6386b975 Mon Sep 17 00:00:00 2001 From: HUMORCE Date: Sat, 9 Aug 2025 10:46:58 +0000 Subject: [PATCH] harfbuzz@11.3.3: Fix extraction (Close #7052) --- bucket/harfbuzz.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bucket/harfbuzz.json b/bucket/harfbuzz.json index 3563bffc8a..f50f37bb1b 100644 --- a/bucket/harfbuzz.json +++ b/bucket/harfbuzz.json @@ -6,15 +6,17 @@ "architecture": { "64bit": { "url": "https://github.com/harfbuzz/harfbuzz/releases/download/11.3.3/harfbuzz-win64-11.3.3.zip", - "hash": "d6c6d740b7c82d6725f7c21f66627aaa1aa254daf6debabd0268c6924649919e", - "extract_dir": "harfbuzz-win64" + "hash": "d6c6d740b7c82d6725f7c21f66627aaa1aa254daf6debabd0268c6924649919e" }, "32bit": { "url": "https://github.com/harfbuzz/harfbuzz/releases/download/11.3.3/harfbuzz-win32-11.3.3.zip", - "hash": "58c361a48595f3ea5f1c34c2c2fe46326019cf8633dfcca512f90cea46792a1d", - "extract_dir": "harfbuzz-win32" + "hash": "58c361a48595f3ea5f1c34c2c2fe46326019cf8633dfcca512f90cea46792a1d" } }, + "pre_install": [ + "$innerdir = if ($architecture -eq '32bit') { 'harfbuzz-win32' } else { 'harfbuzz-win64' }", + "Expand-ZipArchive -Path \"$dir\\$innerdir.zip\" -DestinationPath \"$dir\" -ExtractDir $innerdir -Removal" + ], "bin": [ "hb-shape.exe", "hb-subset.exe",