File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ REM ***** Collect PDBs
33echo -- Creating symbols package
44set CS_SYMBOLS_NAME = OpenShellPDB_%CS_VERSION_STR% .7z
55
6- cd Output
7- 7z a -mx9 ..\Final\%CS_SYMBOLS_NAME% PDB32 PDB64 > nul
8- cd ..
6+ 7z a -mx9 .\Final\%CS_SYMBOLS_NAME% .\Output\symbols\* > nul
97
108if defined APPVEYOR (
119 appveyor PushArtifact Final\%CS_SYMBOLS_NAME%
Original file line number Diff line number Diff line change 11if exist Output rd /Q /S Output
22md Output
33md Output\x64
4- md Output\PDB32
5- md Output\PDB64
64
75echo -- Compiling
86
@@ -67,6 +65,8 @@ copy /B "..\StartMenu\Skins\Metallic.skin7" Output > nul
6765
6866
6967REM ********* Collect debug info
68+ md Output\PDB32
69+ md Output\PDB64
7070
7171REM Explorer 32
7272copy /B ..\ClassicExplorer\Setup\ClassicExplorer32.pdb Output\PDB32 > nul
@@ -126,6 +126,18 @@ if exist %PDBSTR_PATH% (
126126 )
127127)
128128
129+ REM ********* Prepare symbols
130+
131+ set SYMSTORE_PATH = " C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\symstore.exe"
132+
133+ %SYMSTORE_PATH% add /r /f Output\PDB32 /s Output\symbols /t OpenShell -:NOREFS > nul
134+ %SYMSTORE_PATH% add /r /f Output\PDB64 /s Output\symbols /t OpenShell -:NOREFS > nul
135+ rd /Q /S Output\symbols\000Admin > nul
136+ del Output\symbols\pingme.txt > nul
137+
138+ rd /Q /S Output\PDB32
139+ rd /Q /S Output\PDB64
140+
129141REM ********* Build ADMX
130142echo --- ADMX
131143if exist Output\PolicyDefinitions.zip (
You can’t perform that action at this time.
0 commit comments