Remove wrong natives from windows build

This commit is contained in:
FriwiDev
2021-11-22 11:17:29 +01:00
parent cfc51c4a66
commit 33a1939f45

View File

@@ -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 *