File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,11 +191,11 @@ let provideNuGetExtraFiles path (bundle:Bundle) (pack:Package) =
191191let sign fingerprint timeserver files =
192192 files
193193 |> Seq.map ( sprintf " \" %s \" " )
194- |> Seq.map ( fun file -> sprintf """ sign /v /sha1 "%s " /t "%s " %s """ fingerprint timeserver file)
194+ |> Seq.map ( fun file -> sprintf """ sign /v /fd sha256 / sha1 "%s " /tr "%s " /td sha256 %s """ fingerprint timeserver file)
195195 |> Seq.iter ( fun arguments ->
196196 let result =
197197 ExecProcess ( fun info ->
198- info.FileName <- """ C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe """
198+ info.FileName <- findToolInSubPath " signtool.exe " """ C:\Program Files (x86)\Windows Kits\10\bin\x64 """
199199 info.Arguments <- arguments) TimeSpan.MaxValue
200200 if result <> 0 then
201201 failwithf " Error during SignTool call " )
You can’t perform that action at this time.
0 commit comments