-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
37 lines (31 loc) · 709 Bytes
/
Copy pathbuild.bat
File metadata and controls
37 lines (31 loc) · 709 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
34
35
36
37
@echo off
title OrbSniper build
echo ==========================================
echo Building OrbSniper.exe (GUI)
echo ==========================================
echo.
call npm install --no-audit --no-fund
if errorlevel 1 goto :fail
echo.
echo Running checks...
call npm test
if errorlevel 1 goto :testfail
call npm run dist
if errorlevel 1 goto :fail
echo.
echo ==========================================
echo Done: dist\OrbSniper.exe
echo (c) 2026 synaps_ss - tg @synaps_ss
echo ==========================================
pause
exit /b 0
:testfail
echo.
echo CHECKS FAILED - not building. Fix the failures above.
pause
exit /b 1
:fail
echo.
echo BUILD FAILED - see errors above.
pause
exit /b 1