forked from R-eape-R/sunone_aimbot_2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILDER.bat
More file actions
33 lines (27 loc) · 725 Bytes
/
Copy pathBUILDER.bat
File metadata and controls
33 lines (27 loc) · 725 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
30
31
32
33
@echo off
setlocal EnableExtensions
pushd "%~dp0" || exit /b 1
echo ============================================================
echo BUILDER - Double-click deployment launcher
echo ============================================================
echo.
where powershell >nul 2>nul
if errorlevel 1 (
echo [BUILDER] ERROR: powershell was not found in PATH.
echo.
pause
popd
exit /b 1
)
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0BUILDER.ps1" %*
set "BUILDER_EXIT_CODE=%ERRORLEVEL%"
echo.
if "%BUILDER_EXIT_CODE%"=="0" (
echo [BUILDER] Deployment complete.
) else (
echo [BUILDER] Deployment failed with exit code %BUILDER_EXIT_CODE%.
)
echo.
pause
popd
exit /b %BUILDER_EXIT_CODE%