Add symchk to download PDBs
This commit is contained in:
parent
a800ad0d2c
commit
5d3670537a
19
Installer/win32_download_windows_symbols_pdb.bat
Normal file
19
Installer/win32_download_windows_symbols_pdb.bat
Normal file
@ -0,0 +1,19 @@
|
||||
@echo off
|
||||
set dest_dir="%~dp0Windows_Symbols_PDBs"
|
||||
set symchk="C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\symchk.exe"
|
||||
|
||||
if "%~1"=="" goto :usage
|
||||
|
||||
if not exist %symchk% (
|
||||
echo Symchk binary not found but is required to run script [path=%symchk%]
|
||||
exit /b 1
|
||||
)
|
||||
goto :eof
|
||||
|
||||
if not exist %dest_dir% mkdir %dest_dir%
|
||||
echo Downloading to %dest_dir% with %symchk%
|
||||
%symchk% /r "%1" /s srv*%dest_dir%*https://msdl.microsoft.com/download/symbols
|
||||
goto :eof
|
||||
|
||||
:usage
|
||||
echo Usage: download_windows_symbol_pdb.bat executable_to_check
|
@ -461,7 +461,8 @@ REM uncap: Bind capslock to escape via run-time program
|
||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_ctags.exe" "!bin_dir!\ctags.exe" || exit /B
|
||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_scanmapset.exe" "!bin_dir!\scanmapset.exe" || exit /B
|
||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_uncap.exe" "!bin_dir!\uncap.exe" || exit /B
|
||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\clang-format-style-file" "!home_dir!\_clang-format" || exit /B
|
||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\clang_format_style_file" "!home_dir!\_clang-format" || exit /B
|
||||
call :CopyAndAlwaysOverwriteFile "!install_dir!\win32_download_windows_symbols_pdb" "!bin_dir!\download_windows_symbols_pdb.bat" || exit /B
|
||||
|
||||
REM ------------------------------------------------------------------------
|
||||
REM MobaXTerm
|
||||
@ -561,7 +562,7 @@ if !install_geth! == 1 (
|
||||
set geth_dir=!tools_dir!\geth-windows-amd64-!geth_version!
|
||||
set geth_exe=!geth_dir!\geth.exe
|
||||
|
||||
set geth_gpg_key=!downloads_dir!\..\geth-windows-builder-gpg-key.asc
|
||||
set geth_gpg_key=!downloads_dir!\..\geth_windows_builder_gpg_key.asc
|
||||
set geth_gpg_sig=!geth_zip!.asc
|
||||
|
||||
if not exist "!geth_exe!" (
|
||||
|
Loading…
Reference in New Issue
Block a user