From e37919ebd21a7f2dad9b63eabf02c6fbcc27ce7f Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Wed, 4 Oct 2023 22:22:39 +0900 Subject: [PATCH] # shellcheck disable=SC2012 --- build_util/codesign.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/build_util/codesign.bash b/build_util/codesign.bash index f3880a07d..9c61c5169 100755 --- a/build_util/codesign.bash +++ b/build_util/codesign.bash @@ -51,6 +51,7 @@ THUMBPRINT=$( # 指定ファイルに署名する function codesign() { TARGET="$1" + # shellcheck disable=SC2012 SIGNTOOL=$(ls "C:/Program Files (x86)/Windows Kits/"10/bin/*/x86/signtool.exe | sort -V | tail -n 1) # なぜかこれじゃないと動かない powershell "& '$SIGNTOOL' sign /fd SHA256 /td SHA256 /tr http://timestamp.digicert.com /sha1 '$THUMBPRINT' '$TARGET'" }