Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
add code signing script
Browse files Browse the repository at this point in the history
  • Loading branch information
xupefei committed Jul 4, 2017
1 parent b740050 commit 6bf3446
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 5 additions & 2 deletions LocaleEmulator.sln
@@ -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
Expand All @@ -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}"
Expand Down
8 changes: 8 additions & 0 deletions Scripts/sign-package.ps1
@@ -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
}

0 comments on commit 6bf3446

Please sign in to comment.