diff --git a/scripts/run_windows.bat b/scripts/run_windows.bat index 395aa86..6475b48 100644 --- a/scripts/run_windows.bat +++ b/scripts/run_windows.bat @@ -41,8 +41,11 @@ if "%TARGETARCH%"=="386" (call compile.bat win32) else (call compile.bat win64) :: Create distribution if "%TARGETARCH%"=="386" (call make_distrib.bat win32) else (call make_distrib.bat win64) -:: Zip results to C:\out +:: Go to results if "%TARGETARCH%"=="386" (cd ../binary_distrib/win32) else (cd ../binary_distrib/win64) +:: Remove wrong jogamp/gluegen natives from archive +if "%TARGETARCH%"=="arm64" (del /F /Q "bin/*-amd64.jar") +:: Zip results to C:\out del /F C:\out\binary_distrib.tar.gz if not exist "C:\out" mkdir "C:\out" tar -czvf C:\out\binary_distrib.tar.gz *