Skip to content

Commit

Permalink
# shellcheck disable=SC2012
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Oct 4, 2023
1 parent cc79b61 commit e37919e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_util/codesign.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
}
Expand Down

0 comments on commit e37919e

Please sign in to comment.