mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Change filename if unsigned
This commit is contained in:
parent
2f6b3a4340
commit
34cc6bfee1
1 changed files with 6 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
||||||
#define BinDir "bin\Release\net472"
|
#define BinDir "bin\Release\net472"
|
||||||
#define ReleaseDir "..\..\src\Greenshot\bin\Release\net472"
|
#define ReleaseDir "..\..\src\Greenshot\bin\Release\net472"
|
||||||
#define PluginDir "..\..\src\Greenshot\bin\Release\net472\Plugins"
|
#define PluginDir "..\..\src\Greenshot\bin\Release\net472\Plugins"
|
||||||
|
#define CertumThumbprint GetEnv('CertumThumbprint')
|
||||||
|
|
||||||
; Include the scripts to install .NET Framework
|
; Include the scripts to install .NET Framework
|
||||||
; See https://www.codeproject.com/KB/install/dotnetfx_innosetup_instal.aspx
|
; See https://www.codeproject.com/KB/install/dotnetfx_innosetup_instal.aspx
|
||||||
|
@ -132,13 +133,15 @@ InfoBeforeFile=..\additional_files\readme.txt
|
||||||
LicenseFile=..\additional_files\license.txt
|
LicenseFile=..\additional_files\license.txt
|
||||||
LanguageDetectionMethod=uilanguage
|
LanguageDetectionMethod=uilanguage
|
||||||
MinVersion=6.1sp1
|
MinVersion=6.1sp1
|
||||||
OutputBaseFilename={#ExeName}-INSTALLER-{#Version}-UNSTABLE
|
|
||||||
OutputDir=..\
|
OutputDir=..\
|
||||||
PrivilegesRequired=lowest
|
PrivilegesRequired=lowest
|
||||||
SetupIconFile=..\..\src\Greenshot\icons\applicationIcon\icon.ico
|
SetupIconFile=..\..\src\Greenshot\icons\applicationIcon\icon.ico
|
||||||
#if GetEnv('CertumThumbprint') != ""
|
#if CertumThumbprint != ""
|
||||||
SignTool=SignTool sign /sha1 "{#GetEnv('CertumThumbprint')}" /tr http://time.certum.pl /td sha256 /fd sha256 /v $f
|
OutputBaseFilename={#ExeName}-INSTALLER-{#Version}-UNSTABLE
|
||||||
|
SignTool=SignTool sign /sha1 "{#CertumThumbprint }" /tr http://time.certum.pl /td sha256 /fd sha256 /v $f
|
||||||
SignedUninstaller=yes
|
SignedUninstaller=yes
|
||||||
|
#else
|
||||||
|
OutputBaseFilename={#ExeName}-INSTALLER-{#Version}-UNSTABLE-UNSIGNED
|
||||||
#endif
|
#endif
|
||||||
UninstallDisplayIcon={app}\{#ExeName}.exe
|
UninstallDisplayIcon={app}\{#ExeName}.exe
|
||||||
Uninstallable=true
|
Uninstallable=true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue