1 parent 901d680 commit 61c1cc5Copy full SHA for 61c1cc5
1 file changed
run_demo.bat
@@ -1,10 +1,17 @@
1
@echo off
2
chcp 65001 >nul
3
+cd /d "%~dp0"
4
+setlocal
5
6
+echo ⚡ Building Project...
7
+call mvn clean package -DskipTests -q
8
+if %ERRORLEVEL% NEQ 0 ( echo ❌ Benchmark failed. & pause & exit /b %ERRORLEVEL% )
9
-echo 🚀 Running Demo...
10
+echo 🚀 Running Demo...
11
cd examples\Demo
12
set MAVEN_OPTS=--enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow
-call mvn -q compile exec:java -Dexec.mainClass=fastghostmouse.demo.Demo
-cd ..\..
-pause
13
+call mvn -q compile exec:java -Dexec.mainClass=fastghostmouse.demo.Demo -q
14
15
+
16
+cd ..
17
+endlocal
0 commit comments