|
229 | 229 | <PropertyGroup> |
230 | 230 | <PostBuildEvent>if "$(ConfigurationName)" == "Release" ( |
231 | 231 |
|
232 | | - |
233 | 232 | REM -------------------------- |
234 | 233 | REM Pack EXE with ILRepack |
235 | 234 | REM -------------------------- |
236 | 235 | "D:\Data\Development\Visual Studio\Commodore-Repair-Toolbox\packages\ILRepack.2.0.44\tools\ILRepack.exe" /out:"$(TargetPath)" "$(TargetPath)" "$(TargetDir)EPPlus.dll" "$(TargetDir)EPPlus.Interfaces.dll" "$(TargetDir)EPPlus.System.Drawing.dll" "$(TargetDir)Microsoft.Bcl.Cryptography.dll" "$(TargetDir)Microsoft.IO.RecyclableMemoryStream.dll" "$(TargetDir)Newtonsoft.Json.dll" "$(TargetDir)System.Buffers.dll" "$(TargetDir)System.Drawing.Common.dll" "$(TargetDir)System.Formats.Asn1.dll" "$(TargetDir)System.Memory.dll" "$(TargetDir)System.Numerics.Vectors.dll" "$(TargetDir)System.Runtime.CompilerServices.Unsafe.dll" "$(TargetDir)System.Security.Cryptography.Xml.dll" |
237 | | -rem "$(TargetDir)Microsoft.Web.WebView2.Core.dll" |
238 | | -rem "$(TargetDir)Microsoft.Web.WebView2.WinForms.dll" |
239 | | -rem "$(TargetDir)Microsoft.Web.WebView2.Wpf.dll" |
240 | 236 |
|
241 | 237 | REM ------------------------ |
242 | 238 | REM Delete LOCAL folders |
243 | 239 | REM ------------------------ |
244 | 240 | IF EXIST "Data" RMDIR /S /Q "Data" |
245 | | -rem IF EXIST "Commodore-Repair-Toolbox.exe.WebView2" RMDIR /S /Q "Commodore-Repair-Toolbox.exe.WebView2" |
246 | | - |
247 | 241 |
|
248 | 242 | REM ---------------------------------------------------- |
249 | 243 | REM Copy the GitHub "Data" folder to LOCAL folder |
250 | 244 | REM ---------------------------------------------------- |
251 | | -REM CPU = x64 |
252 | | -rem XCOPY "..\..\..\Data" "Data" /E /I /H /C /Q /Y |
253 | | -REM CPU = Any |
254 | 245 | XCOPY "..\..\Data" "Data" /E /I /H /C /Q /Y |
255 | 246 |
|
256 | | - |
257 | 247 | REM -------------------------------- |
258 | 248 | REM Digitally sign the application |
259 | 249 | REM -------------------------------- |
260 | 250 | "C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe" sign /fd sha256 /tr http://ts.ssl.com /td sha256 /sha1 7e2215692c12ad960e40a844b1e1bc15ca006df9 "$(TargetPath)" |
261 | 251 |
|
262 | | - |
263 | 252 | REM ---------------------------------------------------------- |
264 | 253 | REM Delete unnecessary files (to check it works without it) |
265 | 254 | REM ---------------------------------------------------------- |
|
0 commit comments