Skip to content

Commit

Permalink
Added more debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Aug 22, 2024
1 parent 67fca0f commit 68de357
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ jobs:
SM_CLIENT_CERT_FILE : D:\\Certificate_pkcs12.p12
run: |
signtool.exe sign /sha1 ${{ secrets.DIGICERT_FINGERPRINT }} /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 "out/ComfyUI-win32-x64/ComfyUI.exe"
- name: Print SignLogs
condition: always()
shell: powershell
run: cd $HOME && gc .signingmanager\logs\smksp.log
- name: verify signing
run:
signtool verify out/ComfyUI-win32-x64/ComfyUI.exe
Expand Down
1 change: 1 addition & 0 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config: ForgeConfig = {
asar: true,
windowsSign: {debug:true,
hookFunction: (filePath) => {
if (filePath.endsWith(".dll")) return;
require("child_process").execSync(`signtool.exe sign /sha1 ${process.env.DIGICERT_FINGERPRINT} /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 ${filePath}`)
},
signWithParams: `/csp \"DigiCert Signing Manager KSP\" /kc key_889133389 /sha1 ${process.env.DIGICERT_FINGERPRINT}`
Expand Down

0 comments on commit 68de357

Please sign in to comment.