From fb7fdb15e6073390c7f78240fdec92047924c240 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Tue, 23 Apr 2019 21:12:01 -0500 Subject: Slight Cleanup. TODO: - Reformat scripts. - Allow for 'mini-packages' inside 'main' packages to decrease /data clutter. --- util/ldid-xerub/ios.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 util/ldid-xerub/ios.sh (limited to 'util/ldid-xerub/ios.sh') diff --git a/util/ldid-xerub/ios.sh b/util/ldid-xerub/ios.sh new file mode 100755 index 000000000..a9dae809e --- /dev/null +++ b/util/ldid-xerub/ios.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -e -x + +sudo xcode-select --switch /Applications/Xcode-4.6.3.app +cycc -i2.0 -oldid.arm -- -c -std=c++11 ldid.cpp -I. +cycc -i2.0 -oldid.arm -- ldid.arm -x c sha1.c lookup2.c -I . + +rm -rf _ +mkdir -p _/usr/bin +cp -a ldid.arm _/usr/bin/ldid +mkdir -p _/DEBIAN +./control.sh _ >_/DEBIAN/control +mkdir -p debs +ln -sf debs/ldid_$(./version.sh)_iphoneos-arm.deb ldid.deb +dpkg-deb -b _ ldid.deb +readlink ldid.deb -- cgit v1.2.3