Skip to content

Commit ce1fd28

Browse files
Version number is 0.1.0.0. Added auto signing if possible.
1 parent 8ed7449 commit ce1fd28

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

src/AutoIt.OSD.Background/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("0.1.0.0")]
36+
[assembly: AssemblyFileVersion("0.1.0.0")]

src/AutoIt.OSD.Background/generate_release_package.cmd

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ SET ScriptDir=%ScriptDir:~0,-1%
55
SET RootOutDir=%ScriptDir%\..\ReleasePackage
66
SET ThisScript=%~nx0
77

8+
REM Sign if possible
9+
REM If SIGNTOOL environment variable is not set then try setting it to a known location
10+
if "%SIGNTOOL%"=="" set SIGNTOOL=%ProgramFiles(x86)%\Windows Kits\8.1\bin\x86\signtool.exe
11+
REM Check to see if the signtool utility is missing
12+
if exist "%SIGNTOOL%" goto OK1
13+
REM Give error that SIGNTOOL environment variable needs to be set
14+
echo "Must set environment variable SIGNTOOL to full path for signtool.exe code signing utility"
15+
echo Location is of the form "C:\Program Files (x86)\Windows Kits\8.1\x86\bin\signtool.exe"
16+
:OK1
17+
18+
"%SIGNTOOL%" sign /a /tr http://rfc3161timestamp.globalsign.com/advanced /td SHA256 /n "AutoIt Consulting Ltd" /d "desc" /du "website" /q "%ScriptDir%\AutoIt.OSD.Background.exe"
19+
20+
821
REM Clean up
922
ECHO %RootOutDir%
1023
rmdir /s /q %RootOutDir%

0 commit comments

Comments
 (0)