mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-01 11:21:25 -05:00
Moved tor binaries into subfolder "tor" for Windows build
This commit is contained in:
parent
130d846e47
commit
5b1b0cadf9
@ -132,8 +132,14 @@ del /Q "%RsDeployPath%\imageformats\*d?.dll" %Quite%
|
|||||||
|
|
||||||
if "%ParamTor%"=="1" (
|
if "%ParamTor%"=="1" (
|
||||||
echo copy tor
|
echo copy tor
|
||||||
copy "%RsMinGWPath%\bin\tor.exe" "%RsDeployPath%" %Quite%
|
if not exist "%RsDeployPath%\tor" mkdir "%RsDeployPath%\tor"
|
||||||
copy "%RsMinGWPath%\bin\tor-gencert.exe" "%RsDeployPath%" %Quite%
|
copy "%RsMinGWPath%\bin\tor.exe" "%RsDeployPath%\tor" %Quite%
|
||||||
|
copy "%RsMinGWPath%\bin\tor-gencert.exe" "%RsDeployPath%\tor" %Quite%
|
||||||
|
|
||||||
|
echo copy tor dependencies
|
||||||
|
for /R "%RsDeployPath%\tor" %%D in (*.exe) do (
|
||||||
|
call :copy_dependencies "%%D" "%RsDeployPath%\tor"
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
echo copy dependencies
|
echo copy dependencies
|
||||||
|
@ -173,7 +173,8 @@ if exist "%SourcePath%\libresapi\src\webui" (
|
|||||||
|
|
||||||
if "%ParamTor%"=="1" (
|
if "%ParamTor%"=="1" (
|
||||||
echo copy tor
|
echo copy tor
|
||||||
echo n | copy /-y "%EnvTorPath%\Tor\*.*" "%RsDeployPath%" %Quite%
|
if not exist "%RsDeployPath%\tor" mkdir "%RsDeployPath%\tor"
|
||||||
|
echo n | copy /-y "%EnvTorPath%\Tor\*.*" "%RsDeployPath%\tor" %Quite%
|
||||||
)
|
)
|
||||||
|
|
||||||
rem pack files
|
rem pack files
|
||||||
|
@ -285,7 +285,7 @@ SectionEnd
|
|||||||
# Tor
|
# Tor
|
||||||
!ifdef TOR_EXISTS
|
!ifdef TOR_EXISTS
|
||||||
Section /o $(Section_Tor) Section_Tor
|
Section /o $(Section_Tor) Section_Tor
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR\tor"
|
||||||
File /r "${TORDIR}\*"
|
File /r "${TORDIR}\*"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
!endif
|
!endif
|
||||||
|
@ -465,7 +465,7 @@ QString TorManagerPrivate::torExecutablePath() const
|
|||||||
return path;
|
return path;
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
QString filename(QStringLiteral("/tor.exe"));
|
QString filename(QStringLiteral("/tor/tor.exe"));
|
||||||
#else
|
#else
|
||||||
QString filename(QStringLiteral("/tor"));
|
QString filename(QStringLiteral("/tor"));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user