minecraft-pi-reborn/scripts/package.sh

14 lines
348 B
Bash
Executable File

#!/bin/sh
set -e
# Generate
./scripts/tools/generate-appimage-builder-yaml.js "$1" "$2"
# Build/Package
appimage-builder --recipe AppImageBuilder.yml
# Move ZSync
rm -f "./out/minecraft-pi-reborn-$1-latest-$2.AppImage.zsync"
mv "./minecraft-pi-reborn-$1-$(cat VERSION)-$2.AppImage.zsync" "./out/minecraft-pi-reborn-$1-latest-$2.AppImage.zsync"