Files
PojavLauncher_iOS/build_package.sh
T
2021-02-17 06:10:54 +07:00

13 lines
541 B
Bash

#!/bin/bash
set -e
mkdir -p packages/pojavlauncher_iphoneos-arm/{DEBIAN,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 control packages/pojavlauncher_iphoneos-arm/DEBIAN
ldid -Sentitlements.xml packages/pojavlauncher_iphoneos-arm/Applications/PojavLauncher.app
fakeroot dpkg-deb -b packages/pojavlauncher_iphoneos-arm