This commit is contained in:
2024-11-21 20:32:34 +01:00
commit 72ec4d7188
6 changed files with 4414 additions and 0 deletions

7
run.ps Normal file
View 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)