Version 2.5.8: Fix dump_syms invocation.

This commit is contained in:
John Preston 2021-01-30 00:22:40 +04:00
parent 72f8d3f485
commit 87895466dc

View file

@ -41,7 +41,6 @@ if %Build64% neq 0 (
echo Bad environment. Make sure to run from 'x64 Native Tools Command Prompt for VS 2019'. echo Bad environment. Make sure to run from 'x64 Native Tools Command Prompt for VS 2019'.
exit /b exit /b
) )
set "DumpSymsPath=%SolutionPath%\..\..\Libraries\win64\breakpad\src\tools\windows\dump_syms\Release\dump_syms.exe"
) else ( ) else (
if "%Platform%" neq "x86" ( if "%Platform%" neq "x86" (
echo Bad environment. Make sure to run from 'x86 Native Tools Command Prompt for VS 2019'. echo Bad environment. Make sure to run from 'x86 Native Tools Command Prompt for VS 2019'.
@ -53,7 +52,6 @@ if %Build64% neq 0 (
echo Bad environment. Make sure to run from 'x86 Native Tools Command Prompt for VS 2019'. echo Bad environment. Make sure to run from 'x86 Native Tools Command Prompt for VS 2019'.
exit /b exit /b
) )
set "DumpSymsPath=%SolutionPath%\..\..\Libraries\breakpad\src\tools\windows\dump_syms\Release\dump_syms.exe"
) )
FOR /F "tokens=1,2* delims= " %%i in (%FullScriptPath%version) do set "%%i=%%j" FOR /F "tokens=1,2* delims= " %%i in (%FullScriptPath%version) do set "%%i=%%j"
@ -97,10 +95,12 @@ if %Build64% neq 0 (
set "UpdateFile=tx64upd%AppVersion%" set "UpdateFile=tx64upd%AppVersion%"
set "SetupFile=tsetup-x64.%AppVersionStrFull%.exe" set "SetupFile=tsetup-x64.%AppVersionStrFull%.exe"
set "PortableFile=tportable-x64.%AppVersionStrFull%.zip" set "PortableFile=tportable-x64.%AppVersionStrFull%.zip"
set "DumpSymsPath=%SolutionPath%\..\..\Libraries\win64\breakpad\src\tools\windows\dump_syms\Release\dump_syms.exe"
) else ( ) else (
set "UpdateFile=tupdate%AppVersion%" set "UpdateFile=tupdate%AppVersion%"
set "SetupFile=tsetup.%AppVersionStrFull%.exe" set "SetupFile=tsetup.%AppVersionStrFull%.exe"
set "PortableFile=tportable.%AppVersionStrFull%.zip" set "PortableFile=tportable.%AppVersionStrFull%.zip"
set "DumpSymsPath=%SolutionPath%\..\..\Libraries\breakpad\src\tools\windows\dump_syms\Release\dump_syms.exe"
) )
set "ReleasePath=%SolutionPath%\Release" set "ReleasePath=%SolutionPath%\Release"
set "DeployPath=%ReleasePath%\deploy\%AppVersionStrMajor%\%AppVersionStrFull%" set "DeployPath=%ReleasePath%\deploy\%AppVersionStrMajor%\%AppVersionStrFull%"