9
0
mirror of https://github.com/Kas-tle/java2bedrock.sh.git synced 2025-12-28 19:19:05 +00:00

doc sprite maps; use curl

This commit is contained in:
Kas-tle
2022-10-22 07:38:07 +00:00
committed by GitHub
parent e6eecd59b0
commit 22f7807ad0
4 changed files with 68 additions and 40 deletions

View File

@@ -83,10 +83,10 @@ jobs:
cp converter.sh staging/
cd staging
chmod +x converter.sh
wget "${PACK_URL}" -O input_pack.zip
COLUMNS=$COLUMNS-1 curl --no-styled-output -#L -o input_pack.zip "${PACK_URL}"
MERGE_PACK_FILE="${MERGE_PACK_URL}"
if [ "${MERGE_PACK_URL}" != "null" ]; then
wget "${MERGE_PACK_URL}" -O merge_pack.zip
COLUMNS=$COLUMNS-1 curl --no-styled-output -#L -o merge_pack.zip "${MERGE_PACK_URL}"
MERGE_PACK_FILE="merge_pack.zip"
fi
./converter.sh input_pack.zip -w "false" -m ${MERGE_PACK_FILE} -a ${ATTACHABLE_MATERIAL} -b ${BLOCK_MATERIAL} -f ${DEFAULT_PACK_URL} -v ${DEFAULT_ASSETS_VERSION}