init
This commit is contained in:
7
run.ps
Normal file
7
run.ps
Normal file
@@ -0,0 +1,7 @@
|
||||
New-SelfSignedCertificate -DnsName jheuel@bla.de -Type CodeSigning -CertStoreLocation cert:\CurrentUser\My
|
||||
Export-Certificate -Cert (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert)[0] -FilePath code_signing.crt
|
||||
Import-Certificate -FilePath .\code_signing.crt -Cert Cert:\CurrentUser\TrustedPublisher
|
||||
Import-Certificate -FilePath .\code_signing.crt -Cert Cert:\CurrentUser\Root
|
||||
Set-AuthenticodeSignature .\target\debug\rocknstone.exe -Certificate (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert)
|
||||
Set-AuthenticodeSignature .\target\release\rocknstone.exe -Certificate (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert)
|
||||
|
||||
Reference in New Issue
Block a user