Skip to content

Commit

Permalink
fix(windows): use run_in_vs_env to ensure signtool.exe is on path
Browse files Browse the repository at this point in the history
The build agents use a fixed location for signtool.exe, but this is not
the case for other devs, so we need to grab our VS environment in order
to locate it.
  • Loading branch information
mcdurdin committed May 21, 2024
1 parent c06dd48 commit d43b931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/build/win/signtime.inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi

signtime() {
# TODO: convert to bash script
cmd //c "$KEYMAN_ROOT/common/windows/signtime.bat" "$@"
run_in_vs_env cmd //c "$KEYMAN_ROOT/common/windows/signtime.bat" "$@"
}

function verify-all-executable-signatures-in-folder() {
Expand Down

0 comments on commit d43b931

Please sign in to comment.