mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 03:06:31 -04:00
Install tor if needed
This commit is contained in:
parent
03b4c69ae9
commit
a2ebf0b715
2 changed files with 21 additions and 15 deletions
|
@ -50,6 +50,14 @@
|
|||
# Date
|
||||
!define /date Date "%Y%m%d"
|
||||
|
||||
# Detect tor
|
||||
${!defineifexist} TOR_EXISTS "${DEPLOYDIR}\tor.exe"
|
||||
!ifdef TOR_EXISTS
|
||||
!define RSTYPE "-tor"
|
||||
!else
|
||||
!define RSTYPE ""
|
||||
!endif
|
||||
|
||||
# Application name and version
|
||||
!define APPNAME "RetroShare"
|
||||
!define APPNAMEANDVERSION "${APPNAME} ${VERSION}"
|
||||
|
@ -64,7 +72,7 @@
|
|||
# Main Install settings
|
||||
Name "${APPNAMEANDVERSION}"
|
||||
InstallDirRegKey HKLM "Software\${APPNAME}" ""
|
||||
OutFile "${OUTDIR_}RetroShare-${VERSION}-${Date}-${REVISION}-${ARCHITECTURE}${INSTALLERADD}-setup.exe"
|
||||
OutFile "${OUTDIR_}RetroShare-${VERSION}-${Date}-${REVISION}-${ARCHITECTURE}${RSTYPE}${INSTALLERADD}-setup.exe"
|
||||
BrandingText "${APPNAMEANDVERSION}"
|
||||
RequestExecutionlevel highest
|
||||
# Use compression
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue