Files
PojavLauncher_iOS/scripts/build_package.sh
T
2021-04-28 17:16:39 -04:00

13 lines
544 B
Bash
Executable File

#!/usr/bin/env bash
set -e
mkdir -p packages/pojavlauncher_iphoneos-arm/{Applications,var/mobile/Documents/minecraft,var/mobile/Documents/.pojavlauncher}
sudo chown 501:501 packages/pojavlauncher_iphoneos-arm/var/mobile/Documents/*
cp -R Natives/build/Release-iphoneos/PojavLauncher.app packages/pojavlauncher_iphoneos-arm/Applications
cp -R DEBIAN packages/pojavlauncher_iphoneos-arm/DEBIAN
ldid -Sentitlements.xml packages/pojavlauncher_iphoneos-arm/Applications/PojavLauncher.app
fakeroot dpkg-deb -b packages/pojavlauncher_iphoneos-arm