minecraft-pi-reborn/scripts/package.sh

13 lines
286 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
mv "./minecraft-pi-reborn-$1-$(cat VERSION)-$2.AppImage.zsync" "./out/minecraft-pi-reborn-$1-latest-$2.AppImage.zsync"