This commit is contained in:
TheBrokenRail 2021-02-03 12:28:44 -05:00
parent 6279ff2f6e
commit 096b442988

View File

@ -65,6 +65,11 @@ rm -rf debian/tmp
# Export Libraries # Export Libraries
mkdir -p out/lib mkdir -p out/lib
# Test
cd out/deb
ln -s minecraft-pi-reborn-native*.deb test.deb
cd ../../
## Extract libreborn ## Extract libreborn
# Copy Headers # Copy Headers
@ -73,6 +78,6 @@ cp -r libreborn/include out/lib/include
# Copy Shared Library # Copy Shared Library
IMG_ID="$(docker create thebrokenrail/minecraft-pi-reborn:client)" IMG_ID="$(docker create thebrokenrail/minecraft-pi-reborn:client)"
docker cp "${IMG_ID}:/app/minecraft-pi/mods/libreborn.so" ./out/lib || : docker cp "${IMG_ID}:/app/minecraft-pi/mods/libreborn.so" ./out/lib || :
RET="$?" RET=$?
docker rm -v "${IMG_ID}" docker rm -v "${IMG_ID}"
exit "${RET}" exit ${RET}