add code signing script

This commit is contained in:
Paddy Xu committed 2017-07-04 23:52:41 +03:00
1 parent b7400503fd
commit 6bf3446585
2 files changed
+13 -2

No files matched your search

+5 -2
View File
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
# Visual Studio 15
VisualStudioVersion = 15.0.26430.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LEContextMenuHandler", "LEContextMenuHandler\LEContextMenuHandler.csproj", "{0041073D-2FA7-4B35-B904-9C606C89C8CD}"
EndProject
@@ -13,8 +13,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LECommonLibrary", "LECommon
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LEInstaller", "LEInstaller\LEInstaller.csproj", "{E218923D-59A4-4FA5-B4BC-E540290DA3F8}"
ProjectSection(ProjectDependencies) = postProject
{A0011409-0A25-4E95-BF6D-EE7CB9C287DA} = {A0011409-0A25-4E95-BF6D-EE7CB9C287DA}
{C4DEF32B-8FBB-41B6-80DC-C60339402323} = {C4DEF32B-8FBB-41B6-80DC-C60339402323}
{0041073D-2FA7-4B35-B904-9C606C89C8CD} = {0041073D-2FA7-4B35-B904-9C606C89C8CD}
{A2CF5369-4665-49F6-B948-B44296002C3D} = {A2CF5369-4665-49F6-B948-B44296002C3D}
{33B8F5CA-34A7-4826-BAD9-7CEC63DF4D0C} = {33B8F5CA-34A7-4826-BAD9-7CEC63DF4D0C}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LEUpdater", "LEUpdater\LEUpdater.csproj", "{A0011409-0A25-4E95-BF6D-EE7CB9C287DA}"
+8
View File
@@ -0,0 +1,8 @@
if(-not (Test-Path env:CI))
{
$signExe = 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x86\signtool.exe'
$files = gci '..\Build\Release\*' -Recurse -Include *.exe,LoaderDll.dll,LocaleEmulator.dll | %{('"{0}"' -f $_.FullName)}
$timestampUrl = 'http://time.certum.pl/'
.$signExe sign /a /v /fd sha256 /t $timestampUrl $files
}