Skip to content

Commit

Permalink
Change WindowsKitPath to find latest signtool
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 authored Mar 11, 2024
1 parent 7f091fa commit 698f4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/build/common/verify_signing.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ String find_signtool() {

def windowsKitPath = "/cygdrive/c/'Program Files (x86)'/'Windows Kits'"

def files = sh(script:"find ${windowsKitPath} -type f -path */${arch}/signtool.exe", \
def files = sh(script:"find ${windowsKitPath} -type f -path */${arch}/signtool.exe | sort -r", \
returnStdout:true).split("\\r?\\n|\\r")

// Return the first one we find
Expand Down

0 comments on commit 698f4b4

Please sign in to comment.