mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 04:07:11 +02:00
only call signtool on uninstaller for production build
This commit is contained in:
parent
d6f50b66d6
commit
3cc8457a98
1 changed files with 4 additions and 2 deletions
|
@ -50,9 +50,11 @@
|
|||
!system "$%TEMP%\tempinstaller.exe" = 2
|
||||
|
||||
; That will have written an uninstaller binary for us. Now we sign it with your
|
||||
; favourite code signing tool.
|
||||
; favourite code signing tool, if it's a production build.
|
||||
|
||||
!system "signcode <signing options> $%TEMP%\uninstaller.exe" = 0
|
||||
${If} "@PRODUCTION_BUILD@" == "1"
|
||||
!system "signcode <signing options> $%TEMP%\uninstaller.exe" = 0
|
||||
${EndIf}
|
||||
|
||||
; Good. Now we can carry on writing the real installer.
|
||||
|
||||
|
|
Loading…
Reference in a new issue