File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
run : Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/4.0/Scream4.0.zip -OutFile Scream4.0.zip
9
9
- shell : powershell
10
10
run : Expand-Archive -Path Scream4.0.zip -DestinationPath Scream
11
+ - run : openssl req -batch -verbose -x509 -newkey rsa -keyout ScreamCertificate.pvk -out ScreamCertificate.cer -text -nodes -addext extendedKeyUsage=codeSigning
12
+ - run : ' openssl pkcs12 -export -nodes -in ScreamCertificate.cer -inkey ScreamCertificate.pvk -out ScreamCertificate.pfx -passout pass:'
13
+ - uses : ilammy/msvc-dev-cmd@v1
14
+ - run : signtool sign /v /fd SHA256 /f ScreamCertificate.pfx Scream\Install\driver\x64\Scream.sys
11
15
- shell : powershell
12
- run : Import-Certificate -FilePath Scream\Install\driver\x64\Scream.cat -CertStoreLocation Cert:\LocalMachine\TrustedPublisher
16
+ run : Import-Certificate -FilePath ScreamCertificate.cer -CertStoreLocation Cert:\LocalMachine\root
13
17
- shell : powershell
14
18
run : Install-Module -Name PShot -AcceptLicense -Force
15
19
- shell : powershell
You can’t perform that action at this time.
0 commit comments