1
1
if exist Output rd /Q /S Output
2
2
md Output
3
3
md Output\x64
4
+ md Output\ARM64
4
5
5
6
echo -- Compiling
6
7
7
8
for /f " usebackq tokens=*" %%i in (`" %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do set MSBuildDir = %%i \MSBuild\Current\Bin\
8
9
9
- REM ********* Build 64-bit solution
10
- echo --- 64bit
10
+ REM ********* Build ARM64 solution
11
+ echo --- ARM64
12
+ " %MSBuildDir% MSBuild.exe" ..\OpenShell.sln /m /t:Rebuild /p:Configuration=" Setup" /p:Platform=" ARM64" /verbosity:quiet /nologo
13
+ @ if ERRORLEVEL 1 exit /b 1
14
+
15
+ REM ********* Build x64 solution
16
+ echo --- x64
11
17
" %MSBuildDir% MSBuild.exe" ..\OpenShell.sln /m /t:Rebuild /p:Configuration=" Setup" /p:Platform=" x64" /verbosity:quiet /nologo
12
18
@ if ERRORLEVEL 1 exit /b 1
13
19
14
20
REM ********* Build 32-bit solution (must be after 64-bit)
15
- echo --- 32bit
21
+ echo --- x86
16
22
" %MSBuildDir% MSBuild.exe" ..\OpenShell.sln /m /t:Rebuild /p:Configuration=" Setup" /p:Platform=" Win32" /verbosity:quiet /nologo
17
23
@ if ERRORLEVEL 1 exit /b 1
18
24
@@ -49,6 +55,13 @@ copy /B ..\StartMenu\Setup64\StartMenu.exe Output\x64 > nul
49
55
copy /B ..\StartMenu\Setup64\StartMenuDLL.dll Output\x64 > nul
50
56
copy /B ..\StartMenu\StartMenuHelper\Setup64\StartMenuHelper64.dll Output\x64 > nul
51
57
58
+ copy /B ..\ClassicExplorer\SetupARM64\ClassicExplorerARM64.dll Output\ARM64 > nul
59
+ copy /B ..\ClassicIE\SetupARM64\ClassicIEDLL_ARM64.dll Output\ARM64 > nul
60
+ copy /B ..\ClassicIE\SetupARM64\ClassicIE_ARM64.exe Output\ARM64 > nul
61
+ copy /B ..\StartMenu\SetupARM64\StartMenu.exe Output\ARM64 > nul
62
+ copy /B ..\StartMenu\SetupARM64\StartMenuDLL.dll Output\ARM64 > nul
63
+ copy /B ..\StartMenu\StartMenuHelper\SetupARM64\StartMenuHelperARM64.dll Output\ARM64 > nul
64
+
52
65
copy /B " ..\StartMenu\Skins\Classic Skin.skin" Output > nul
53
66
copy /B " ..\StartMenu\Skins\Full Glass.skin" Output > nul
54
67
copy /B " ..\StartMenu\Skins\Smoked Glass.skin" Output > nul
@@ -67,29 +80,40 @@ copy /B "..\StartMenu\Skins\Metallic.skin7" Output > nul
67
80
68
81
REM ********* Collect debug info
69
82
md Output\PDB32
70
- md Output\PDB64
83
+ md Output\PDBx64
84
+ md Output\PDBARM64
71
85
72
86
REM Explorer 32
73
87
copy /B ..\ClassicExplorer\Setup\ClassicExplorer32.pdb Output\PDB32 > nul
74
88
copy /B Output\ClassicExplorer32.dll Output\PDB32 > nul
75
89
copy /B ..\ClassicExplorer\Setup\ClassicExplorerSettings.pdb Output\PDB32 > nul
76
90
copy /B Output\ClassicExplorerSettings.exe Output\PDB32 > nul
77
91
78
- REM Explorer 64
79
- copy /B ..\ClassicExplorer\Setup64\ClassicExplorer64.pdb Output\PDB64 > nul
80
- copy /B Output\x64\ClassicExplorer64.dll Output\PDB64 > nul
92
+ REM Explorer x64
93
+ copy /B ..\ClassicExplorer\Setup64\ClassicExplorer64.pdb Output\PDBx64 > nul
94
+ copy /B Output\x64\ClassicExplorer64.dll Output\PDBx64 > nul
95
+
96
+ REM Explorer ARM64
97
+ copy /B ..\ClassicExplorer\SetupARM64\ClassicExplorerARM64.pdb Output\PDBARM64 > nul
98
+ copy /B Output\ARM64\ClassicExplorerARM64.dll Output\PDBARM64 > nul
81
99
82
100
REM IE 32
83
101
copy /B ..\ClassicIE\Setup\ClassicIEDLL_32.pdb Output\PDB32 > nul
84
102
copy /B Output\ClassicIEDLL_32.dll Output\PDB32 > nul
85
103
copy /B ..\ClassicIE\Setup\ClassicIE_32.pdb Output\PDB32 > nul
86
104
copy /B Output\ClassicIE_32.exe Output\PDB32 > nul
87
105
88
- REM IE 64
89
- copy /B ..\ClassicIE\Setup64\ClassicIEDLL_64.pdb Output\PDB64 > nul
90
- copy /B Output\x64\ClassicIEDLL_64.dll Output\PDB64 > nul
91
- copy /B ..\ClassicIE\Setup64\ClassicIE_64.pdb Output\PDB64 > nul
92
- copy /B Output\x64\ClassicIE_64.exe Output\PDB64 > nul
106
+ REM IE x64
107
+ copy /B ..\ClassicIE\Setup64\ClassicIEDLL_64.pdb Output\PDBx64 > nul
108
+ copy /B Output\x64\ClassicIEDLL_64.dll Output\PDBx64 > nul
109
+ copy /B ..\ClassicIE\Setup64\ClassicIE_64.pdb Output\PDBx64 > nul
110
+ copy /B Output\x64\ClassicIE_64.exe Output\PDBx64 > nul
111
+
112
+ REM IE ARM64
113
+ copy /B ..\ClassicIE\SetupARM64\ClassicIEDLL_ARM64.pdb Output\PDBARM64 > nul
114
+ copy /B Output\ARM64\ClassicIEDLL_ARM64.dll Output\PDBARM64 > nul
115
+ copy /B ..\ClassicIE\SetupARM64\ClassicIE_ARM64.pdb Output\PDBARM64 > nul
116
+ copy /B Output\ARM64\ClassicIE_ARM64.exe Output\PDBARM64 > nul
93
117
94
118
REM Menu 32
95
119
copy /B ..\StartMenu\Setup\StartMenu.pdb Output\PDB32 > nul
@@ -103,14 +127,21 @@ copy /B Output\Update.exe Output\PDB32 > nul
103
127
copy /B ..\Update\DesktopToasts\Release\DesktopToasts.pdb Output\PDB32 > nul
104
128
copy /B Output\DesktopToasts.dll Output\PDB32 > nul
105
129
106
- REM Menu 64
107
- copy /B ..\StartMenu\Setup64\StartMenu.pdb Output\PDB64 > nul
108
- copy /B Output\x64\StartMenu.exe Output\PDB64 > nul
109
- copy /B ..\StartMenu\Setup64\StartMenuDLL.pdb Output\PDB64 > nul
110
- copy /B Output\x64\StartMenuDLL.dll Output\PDB64 > nul
111
- copy /B ..\StartMenu\StartMenuHelper\Setup64\StartMenuHelper64.pdb Output\PDB64 > nul
112
- copy /B Output\x64\StartMenuHelper64.dll Output\PDB64 > nul
113
-
130
+ REM Menu x64
131
+ copy /B ..\StartMenu\Setup64\StartMenu.pdb Output\PDBx64 > nul
132
+ copy /B Output\x64\StartMenu.exe Output\PDBx64 > nul
133
+ copy /B ..\StartMenu\Setup64\StartMenuDLL.pdb Output\PDBx64 > nul
134
+ copy /B Output\x64\StartMenuDLL.dll Output\PDBx64 > nul
135
+ copy /B ..\StartMenu\StartMenuHelper\Setup64\StartMenuHelper64.pdb Output\PDBx64 > nul
136
+ copy /B Output\x64\StartMenuHelper64.dll Output\PDBx64 > nul
137
+
138
+ REM Menu ARM64
139
+ copy /B ..\StartMenu\SetupARM64\StartMenu.pdb Output\PDBARM64 > nul
140
+ copy /B Output\ARM64\StartMenu.exe Output\PDBARM64 > nul
141
+ copy /B ..\StartMenu\SetupARM64\StartMenuDLL.pdb Output\PDBARM64 > nul
142
+ copy /B Output\ARM64\StartMenuDLL.dll Output\PDBARM64 > nul
143
+ copy /B ..\StartMenu\StartMenuHelper\SetupARM64\StartMenuHelperARM64.pdb Output\PDBARM64 > nul
144
+ copy /B Output\ARM64\StartMenuHelperARM64.dll Output\PDBARM64 > nul
114
145
115
146
REM ********* Source Index PDBs
116
147
@@ -124,7 +155,11 @@ if exist %PDBSTR_PATH% (
124
155
%PDBSTR_PATH% -w -p:%%f -s:srcsrv -i:Output\pdbstr.txt
125
156
)
126
157
127
- for %%f in (Output\PDB64\*.pdb) do (
158
+ for %%f in (Output\PDBx64\*.pdb) do (
159
+ %PDBSTR_PATH% -w -p:%%f -s:srcsrv -i:Output\pdbstr.txt
160
+ )
161
+
162
+ for %%f in (Output\PDBARM64\*.pdb) do (
128
163
%PDBSTR_PATH% -w -p:%%f -s:srcsrv -i:Output\pdbstr.txt
129
164
)
130
165
)
@@ -134,12 +169,14 @@ REM ********* Prepare symbols
134
169
set SYMSTORE_PATH = " C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\symstore.exe"
135
170
136
171
%SYMSTORE_PATH% add /r /f Output\PDB32 /s Output\symbols /t OpenShell -:NOREFS > nul
137
- %SYMSTORE_PATH% add /r /f Output\PDB64 /s Output\symbols /t OpenShell -:NOREFS > nul
172
+ %SYMSTORE_PATH% add /r /f Output\PDBx64 /s Output\symbols /t OpenShell -:NOREFS > nul
173
+ %SYMSTORE_PATH% add /r /f Output\PDBARM64 /s Output\symbols /t OpenShell -:NOREFS > nul
138
174
rd /Q /S Output\symbols\000Admin > nul
139
175
del Output\symbols\pingme.txt > nul
140
176
141
177
rd /Q /S Output\PDB32
142
- rd /Q /S Output\PDB64
178
+ rd /Q /S Output\PDBx64
179
+ rd /Q /S Output\PDBARM64
143
180
144
181
REM ********* Build ADMX
145
182
echo --- ADMX
0 commit comments