Skip to content

Commit 6c16cf4

Browse files
committed
sign fix
1 parent 5aaf7f1 commit 6c16cf4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build_and_scan.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ jobs:
3434
PYTHONIOENCODING: utf-8
3535

3636
- name: Restore code signing certificate
37-
run: |
38-
echo "${{ secrets.PFX_BASE64 }}" | certutil -decode - kingtriton.pfx
3937
shell: powershell
38+
run: |
39+
$pfxBase64 = "${{ secrets.PFX_BASE64 }}"
40+
$pfxBytes = [System.Convert]::FromBase64String($pfxBase64)
41+
[IO.File]::WriteAllBytes("kingtriton.pfx", $pfxBytes)
4042
4143
- name: Sign EXE
4244
run: |

0 commit comments

Comments
 (0)