Upload files to "bin"

This commit is contained in:
2026-03-07 19:30:52 -05:00
parent 053be262c2
commit 1a54b60275
3 changed files with 178 additions and 0 deletions

22
bin/patch-bl Normal file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
set -e
cd /home/container
echo "Patching Blockland..."
if [ -n "$BL_PATCH_EXE_URL" ]; then
curl -fsSLJ --clobber -o Blockland.exe "$BL_PATCH_EXE_URL"
fi
if [ -n "$BL_PATCH_LOADER_URL" ]; then
curl -fsSLJ --clobber -o RedBlocklandLoader.dll "$BL_PATCH_LOADER_URL"
fi
if [ -n "$BL_PATCH_WINEFIX_URL" ]; then
mkdir -p ./modules
curl -fsSLJ --clobber \
--output-dir ./modules/ \
-o WineFix.dll \
"$BL_PATCH_WINEFIX_URL"
fi