mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 22:48:20 +01:00
14 lines
398 B
PowerShell
14 lines
398 B
PowerShell
$bf = $Env:APPVEYOR_BUILD_FOLDER
|
|
|
|
function CodeSign
|
|
{
|
|
param($file)
|
|
&'C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe' sign /f "$bf/Tools/tgstation13.org.pfx" /p "$env:snk_passphrase" /t http://timestamp.verisign.com/scripts/timstamp.dll "$file"
|
|
}
|
|
|
|
#Sign the output files
|
|
if (Test-Path env:snk_passphrase)
|
|
{
|
|
CodeSign "$bf/TGS.Installer/bin/Release/TGServiceInstaller.msi"
|
|
}
|