forked from newhinton/Round-Sync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
29 lines (25 loc) · 641 Bytes
/
Copy pathbuild.bat
File metadata and controls
29 lines (25 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
chcp 65001 >nul
echo ========================================
echo CloudBridge Build Script
echo Session Guardian Edition
echo ========================================
echo.
REM Check if PowerShell is available
where powershell >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
echo ERROR: PowerShell not found. Please install PowerShell 5.1+.
pause
exit /b 1
)
REM Run the PowerShell script
powershell -NoProfile -ExecutionPolicy Bypass -File build-windows.ps1
if %ERRORLEVEL% NEQ 0 (
echo.
echo Build failed with error code %ERRORLEVEL%
pause
exit /b %ERRORLEVEL%
)
echo.
echo Build completed successfully!
pause