forked from CringeStudios/element-desktop
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
d20eca274e
commit
dcced5ffd6
8
.github/workflows/build_windows.yaml
vendored
8
.github/workflows/build_windows.yaml
vendored
@ -177,10 +177,10 @@ jobs:
|
|||||||
- name: Trust eSigner sandbox cert
|
- name: Trust eSigner sandbox cert
|
||||||
if: inputs.sign == ''
|
if: inputs.sign == ''
|
||||||
run: |
|
run: |
|
||||||
$cert = (Get-AuthenticodeSignature -FilePath (get-item ./dist/win-*unpacked/*.exe)).SignerCertificate
|
$Cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 (get-item ./dist/win-*unpacked/*.exe)
|
||||||
$chain = New-Object -TypeName System.Security.Cryptography.X509Certificates.X509Chain
|
$Chain = New-Object System.Security.Cryptography.X509Certificates.X509Chain
|
||||||
$chain.Build($cert)
|
[void]$Chain.Build($Cert)
|
||||||
$chain.ChainElements[2].Certificate | Export-Certificate -Type CERT -FilePath SSLcom-sandbox-root.crt
|
$Chain.ChainElements[2].Certificate | Export-Certificate -Type CERT -FilePath SSLcom-sandbox-root.crt
|
||||||
certutil.exe -addstore root ./SSLcom-sandbox-root.crt
|
certutil.exe -addstore root ./SSLcom-sandbox-root.crt
|
||||||
env:
|
env:
|
||||||
INSTALL_DIR: C:\Users\runneradmin\eSignerCKA
|
INSTALL_DIR: C:\Users\runneradmin\eSignerCKA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user