feat(v2): add CMD release packaging entrypoint

This commit is contained in:
ila
2026-07-23 22:52:33 +08:00
parent 6c779aafb4
commit 1db99778ed
6 changed files with 92 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
@echo off
setlocal EnableExtensions
set "SCRIPT_DIR=%~dp0"
rem Avoid passing a PowerShell 7 module path to Windows PowerShell 5.1.
rem The release script needs the built-in Microsoft.PowerShell.Utility module.
set "PSModulePath="
powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%build-v2-release.ps1" %*
set "EXIT_CODE=%ERRORLEVEL%"
endlocal & exit /b %EXIT_CODE%