MegaGlest/mk/windoze/mg_build_breakpad_stacktrace.bat

18 lines
408 B
Batchfile
Raw Normal View History

2013-05-21 05:41:30 +02:00
@echo off
if "%1." == "." goto NOTSET
if NOT EXIST "%AppData%\megaglest\%1" goto NOTFOUND
..\..\source\windows_deps\google-breakpad\trunk\src\minidump_stackwalk.exe "%AppData%\megaglest\%1" .\windows_symbols
goto END
:NOTSET
echo "You need to pass the name of the DMP file (in %AppData%) to process as the first argument."
goto END
:NOTFOUND
echo "File not found [%AppData%\megaglest\%1]"
goto END
:END