mirror of https://github.com/winsw/winsw
Update DEVELOPER.md
parent
6e9d25a7b5
commit
6918cc2823
|
@ -3,10 +3,10 @@ WinSW Developer Information
|
||||||
|
|
||||||
### Build Environment
|
### Build Environment
|
||||||
|
|
||||||
* IDE: [Visual Studio Community 2013](http://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx) (free for open-source projects)
|
* IDE: [Visual Studio Community 2019](https://visualstudio.microsoft.com/vs/) (free for open-source projects)
|
||||||
* `winsw_key.snk` should be available in the project's root in order to build the executable
|
* *winsw_key.snk* should be available in the project's root in order to build the executable
|
||||||
* You can generate the certificate in "Project Settings/Signing"
|
* You can generate the certificate by running *generate-key.ps1*
|
||||||
* The certificate is in <code>.gitignore</code> list. Please do not add it to the repository
|
* The certificate is in *.gitignore* list. Please do not add it to the repository
|
||||||
|
|
||||||
### Testing
|
### Testing
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
$files = Get-ChildItem -Path 'C:\Program Files (x86)\Microsoft SDKs\Windows\' -Filter 'sn.exe' -Recurse | Select-Object -Property FullName
|
||||||
|
$files
|
||||||
|
& $files[0].FullName -k winsw_key.snk
|
8
sign.sh
8
sign.sh
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/bash -ex
|
|
||||||
export "PATH=$PATH:/cygdrive/c/Program Files/Windows Kits/8.1/bin/x86"
|
|
||||||
for f in Release Debug;
|
|
||||||
do
|
|
||||||
signtool sign /f winsw-key.snk /t http://timestamp.verisign.com/scripts/timestamp.dll bin/$f/winsw.exe
|
|
||||||
signtool verify /v /pa bin/$f/winsw.exe
|
|
||||||
done
|
|
||||||
echo success
|
|
Loading…
Reference in New Issue