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
3
3
echo -- Creating symbols package
4
4
set CS_SYMBOLS_NAME = OpenShellPDB_%CS_VERSION_STR% .7z
5
5
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
9
7
10
8
if defined APPVEYOR (
11
9
appveyor PushArtifact Final\%CS_SYMBOLS_NAME%
Original file line number Diff line number Diff line change 1
1
if exist Output rd /Q /S Output
2
2
md Output
3
3
md Output\x64
4
- md Output\PDB32
5
- md Output\PDB64
6
4
7
5
echo -- Compiling
8
6
@@ -67,6 +65,8 @@ copy /B "..\StartMenu\Skins\Metallic.skin7" Output > nul
67
65
68
66
69
67
REM ********* Collect debug info
68
+ md Output\PDB32
69
+ md Output\PDB64
70
70
71
71
REM Explorer 32
72
72
copy /B ..\ClassicExplorer\Setup\ClassicExplorer32.pdb Output\PDB32 > nul
@@ -126,6 +126,18 @@ if exist %PDBSTR_PATH% (
126
126
)
127
127
)
128
128
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
+
129
141
REM ********* Build ADMX
130
142
echo --- ADMX
131
143
if exist Output\PolicyDefinitions.zip (
You can’t perform that action at this time.
0 commit comments