完善 Windows 发布构建与开发证书流程
This commit is contained in:
@@ -9,12 +9,15 @@ for %%A in (%*) do (
|
||||
if "%ROOT:~-1%"=="\" set "ROOT=%ROOT:~0,-1%"
|
||||
cd /d "%ROOT%"
|
||||
|
||||
set "POWERSHELL_EXE=%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe"
|
||||
if not exist "%POWERSHELL_EXE%" set "POWERSHELL_EXE=powershell.exe"
|
||||
|
||||
echo ========================================
|
||||
echo YMhut Box - WinUI 3 Build
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%ROOT%\scripts\build-winui.ps1" %*
|
||||
"%POWERSHELL_EXE%" -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%ROOT%\scripts\build-winui.ps1" %*
|
||||
set "EXITCODE=%ERRORLEVEL%"
|
||||
if not "%EXITCODE%"=="0" (
|
||||
echo.
|
||||
|
||||
Reference in New Issue
Block a user