minecraft-pi-reborn/scripts/package.sh
2022-03-09 21:23:41 -05:00

13 lines
280 B
Bash
Executable File

#!/bin/sh
set -e
# Generate
./scripts/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"