mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
Setup: Store symbols in symstore compatible way
This way they can be directly extracted to symbol server cache. So any tool that uses _NT_SYMBOL_PATH will be able to use them automatically.
This commit is contained in:
@@ -3,9 +3,7 @@ REM ***** Collect PDBs
|
||||
echo -- Creating symbols package
|
||||
set CS_SYMBOLS_NAME=OpenShellPDB_%CS_VERSION_STR%.7z
|
||||
|
||||
cd Output
|
||||
7z a -mx9 ..\Final\%CS_SYMBOLS_NAME% PDB32 PDB64 > nul
|
||||
cd ..
|
||||
7z a -mx9 .\Final\%CS_SYMBOLS_NAME% .\Output\symbols\* > nul
|
||||
|
||||
if defined APPVEYOR (
|
||||
appveyor PushArtifact Final\%CS_SYMBOLS_NAME%
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
if exist Output rd /Q /S Output
|
||||
md Output
|
||||
md Output\x64
|
||||
md Output\PDB32
|
||||
md Output\PDB64
|
||||
|
||||
echo -- Compiling
|
||||
|
||||
@@ -67,6 +65,8 @@ copy /B "..\StartMenu\Skins\Metallic.skin7" Output > nul
|
||||
|
||||
|
||||
REM ********* Collect debug info
|
||||
md Output\PDB32
|
||||
md Output\PDB64
|
||||
|
||||
REM Explorer 32
|
||||
copy /B ..\ClassicExplorer\Setup\ClassicExplorer32.pdb Output\PDB32 > nul
|
||||
@@ -126,6 +126,18 @@ if exist %PDBSTR_PATH% (
|
||||
)
|
||||
)
|
||||
|
||||
REM ********* Prepare symbols
|
||||
|
||||
set SYMSTORE_PATH="C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\symstore.exe"
|
||||
|
||||
%SYMSTORE_PATH% add /r /f Output\PDB32 /s Output\symbols /t OpenShell -:NOREFS > nul
|
||||
%SYMSTORE_PATH% add /r /f Output\PDB64 /s Output\symbols /t OpenShell -:NOREFS > nul
|
||||
rd /Q /S Output\symbols\000Admin > nul
|
||||
del Output\symbols\pingme.txt > nul
|
||||
|
||||
rd /Q /S Output\PDB32
|
||||
rd /Q /S Output\PDB64
|
||||
|
||||
REM ********* Build ADMX
|
||||
echo --- ADMX
|
||||
if exist Output\PolicyDefinitions.zip (
|
||||
|
||||
Reference in New Issue
Block a user