diff --git a/Src/Setup/BuildArchives.bat b/Src/Setup/BuildArchives.bat index 75d38f7..eb5231a 100644 --- a/Src/Setup/BuildArchives.bat +++ b/Src/Setup/BuildArchives.bat @@ -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% diff --git a/Src/Setup/BuildBinaries.bat b/Src/Setup/BuildBinaries.bat index 28df6b3..55b03ac 100644 --- a/Src/Setup/BuildBinaries.bat +++ b/Src/Setup/BuildBinaries.bat @@ -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 (