File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4141 [IO.File]::WriteAllBytes("kingtriton.pfx", $pfxBytes)
4242
4343 - name : Sign EXE
44- run : |
45- signtool sign /f kingtriton.pfx /p "${{ secrets.PFX_PASSWORD }}" /tr http://timestamp.digicert.com /td sha256 /fd sha256 dist\PythonProjectMngr.exe
4644 shell : powershell
45+ run : |
46+ $signtool = "${env:ProgramFiles(x86)}\Windows Kits\10\bin\x64\signtool.exe"
47+ if (!(Test-Path $signtool)) {
48+ $signtool = "${env:ProgramFiles(x86)}\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe"
49+ }
50+ & "$signtool" sign /f kingtriton.pfx /p "${{ secrets.PFX_PASSWORD }}" /tr http://timestamp.digicert.com /td sha256 /fd sha256 "dist\PythonProjectMngr.exe"
4751
4852 - name : Upload artifact
4953 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments