mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Using password via environment
This commit is contained in:
parent
5951a4705a
commit
87f380b8b5
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
#define ExeName "Greenshot"
|
||||
#define Version "@VERSION@"
|
||||
#define FileVersion "@FILEVERSION@"
|
||||
#define CertificatePassword GetEnv('CertificatePassword')
|
||||
|
||||
; Include the scripts to install .NET Framework
|
||||
; See http://www.codeproject.com/KB/install/dotnetfx_innosetup_instal.aspx
|
||||
|
@ -129,9 +128,9 @@ OutputDir=..\
|
|||
PrivilegesRequired=none
|
||||
SetupIconFile=..\..\icons\applicationIcon\icon.ico
|
||||
; Create a SHA1 signature
|
||||
SignTool=SignTool sign /debug /fd sha1 /a /f ..\..\..\Greenshot.pfx /p {#CertificatePassword} /tr http://time.certum.pl /td sha1 $f
|
||||
SignTool=SignTool sign /debug /fd sha1 /a /f ..\..\..\Greenshot.pfx /p %CertificatePassword% /tr http://time.certum.pl /td sha1 $f
|
||||
; Append a SHA256 to the previous SHA1 signature (this is what as does)
|
||||
SignTool=SignTool sign /as /debug /fd sha256 /a /f ..\..\..\Greenshot.pfx /p {#CertificatePassword} /a /tr http://time.certum.pl /td sha256 $f
|
||||
SignTool=SignTool sign /as /debug /fd sha256 /a /f ..\..\..\Greenshot.pfx /p %CertificatePassword% /a /tr http://time.certum.pl /td sha256 $f
|
||||
SignedUninstaller=yes
|
||||
UninstallDisplayIcon={app}\{#ExeName}.exe
|
||||
Uninstallable=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue